473,698 Members | 2,432 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

order of props when prop-name implicit..

pls what is order of font-props when not specifying names of properties
in specification

can I assume this is the order:
http://www.w3.org/TR/REC-CSS2/fonts....ont-properties

i.e., can I do

font verdana italic 12px?

the order of props when not specifying name of prop matters right?
(I'm having an argument w/someone at work, we have this specif, they
say it's ok:

font: 100% verdana, arial, helvetica, sans-serif;

is it?

can I always assume order of props is how they appear in a list like
this, http://www.w3.org/TR/REC-CSS2/fonts....ont-properties
(and if not where can u find order of properties..)

thank you very much..
Aug 1 '06 #1
4 1547
meant

font: verdana italic 12px

of course (had forgotten ':'...)

thanks..

maya wrote:
pls what is order of font-props when not specifying names of properties
in specification

can I assume this is the order:
http://www.w3.org/TR/REC-CSS2/fonts....ont-properties

i.e., can I do

font verdana italic 12px?

the order of props when not specifying name of prop matters right?
(I'm having an argument w/someone at work, we have this specif, they
say it's ok:

font: 100% verdana, arial, helvetica, sans-serif;

is it?

can I always assume order of props is how they appear in a list like
this, http://www.w3.org/TR/REC-CSS2/fonts....ont-properties
(and if not where can u find order of properties..)

thank you very much..
Aug 1 '06 #2
Els
maya wrote:
pls what is order of font-props when not specifying names of properties
in specification
http://www.w3.org/TR/REC-CSS2/fonts.html#font-shorthand
says:
[ [ <'font-style'|| <'font-variant'|| <'font-weight']?
<'font-size'[ / <'line-height']? <'font-family'] | caption |
icon | menu | message-box | small-caption | status-bar | inherit

Which I think means:
First font-style, font-variant, font-weight, in any order (each of
them optional), then font-size (compulsory) and /line-height
(optional), then font-family (compulsory).
can I assume this is the order:
http://www.w3.org/TR/REC-CSS2/fonts....ont-properties

i.e., can I do

font verdana italic 12px?
I think it should be font:italic 12px verdana; instead.
the order of props when not specifying name of prop matters right?
(I'm having an argument w/someone at work, we have this specif, they
say it's ok:

font: 100% verdana, arial, helvetica, sans-serif;

is it?
Yes.
can I always assume order of props is how they appear in a list like
this, http://www.w3.org/TR/REC-CSS2/fonts....ont-properties
(and if not where can u find order of properties..)
Here:
http://www.w3.org/TR/REC-CSS2/fonts.html#font-shorthand
thank you very much..
You're welcome :-)

--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/
Aug 1 '06 #3
Els wrote:
maya wrote:
>pls what is order of font-props when not specifying names of properties
in specification

http://www.w3.org/TR/REC-CSS2/fonts.html#font-shorthand
says:
[ [ <'font-style'|| <'font-variant'|| <'font-weight']?
<'font-size'[ / <'line-height']? <'font-family'] | caption |
icon | menu | message-box | small-caption | status-bar | inherit
this is precisely what I was looking for.. couldn't find a way to
navigate to this section from
http://www.w3.org/TR/REC-CSS2/
thank you very much..
>
Which I think means:
First font-style, font-variant, font-weight, in any order (each of
them optional), then font-size (compulsory) and /line-height
(optional), then font-family (compulsory).
>can I assume this is the order:
http://www.w3.org/TR/REC-CSS2/fonts....ont-properties

i.e., can I do

font verdana italic 12px?

I think it should be font:italic 12px verdana; instead.
>the order of props when not specifying name of prop matters right?
(I'm having an argument w/someone at work, we have this specif, they
say it's ok:

font: 100% verdana, arial, helvetica, sans-serif;

is it?

Yes.
>can I always assume order of props is how they appear in a list like
this, http://www.w3.org/TR/REC-CSS2/fonts....ont-properties
(and if not where can u find order of properties..)

Here:
http://www.w3.org/TR/REC-CSS2/fonts.html#font-shorthand
>thank you very much..

You're welcome :-)
Aug 1 '06 #4
Els
maya wrote:
Els wrote:
>maya wrote:
>>pls what is order of font-props when not specifying names of properties
in specification

http://www.w3.org/TR/REC-CSS2/fonts.html#font-shorthand
says:
[ [ <'font-style'|| <'font-variant'|| <'font-weight']?
<'font-size'[ / <'line-height']? <'font-family'] | caption |
icon | menu | message-box | small-caption | status-bar | inherit

this is precisely what I was looking for.. couldn't find a way to
navigate to this section from
http://www.w3.org/TR/REC-CSS2/
On that page, there is a link "properties " right at the top. If you
click that one, you'll get a list of properties, and then you just
scroll down to "font" and click it.
thank you very much..
You're welcome :-)

--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/
Aug 1 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
7734
by: Andrew | last post by:
Last night I was reading about implementing my own stack. The example given pushes items on and off the stack at the start and end of each procedure (ie. in a std module). What's not so clear is how this would work with class objects. In this case do you have to push the object on the stack at the start of every public procedure etc. in the class and pop it off at the end? I can't see how else you can know which object is active - or...
12
3048
by: Arno R | last post by:
Hi there, I just distributed an application in which I (try to) change db.properties depending on CurrentUser() For instance I set the property's AllowBypassKey and AllowBuiltinToolbars to False when CurrentUser() <> "xx" I just noticed that the property's can only be changed changed by a user belonging to 'Admins'. I never noticed this before. I could swear that in other apps (A97) this works fine without the user being an admin... ...
13
1962
by: Arno R | last post by:
Hi all In another thread I had problems changing db.props Another problem I encountered while testing this: db corrupt When I deleted db.props through code in a loop I could not start the db again ... @#$%$ Warning: Don't just try following code on any existing db. Make sure there is a copy! (I did ...) To test I created a NEW db in A2000 and just set some properties (menu StartUpOptions) Props like: AppTitle, StartUpForm,...
22
6787
by: PeteCresswell | last post by:
I've been to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mschrt/html/vbobjtitleobject.asp, but still don't have a clue. For example, I've got a chart object namde 'grphStats' in a form named frmChart. ?Forms!frmChart!grphStats.Name returns "grphStats" as expected, but I can't get any further.
2
1437
by: Homer Simpson | last post by:
How can I expose my methods and props stored in a C# dll via COM so a language like VBA can use them? Thanks, Scott
4
1453
by: A Traveler | last post by:
Hello all, I have a control i wrote which inherits from asp:label. It worked fine. It extends asp:label with a "For" property which implements the "for" attribute of an html label tag (yes i know the latest framework vers. added this, but i want ot get mine right as a learning exp.). I added a designer class which turns the For property into a dropdown list of the names of all the controls so you can simply pick one. When i added the...
4
362
by: Steve Drake | last post by:
All, If you right click on a word doc, you can see and set the custom props for the document, how can this be done in C# (or any other lang) I don't want to automate word as this will be running on a server as a windows service. Cheers
5
1493
by: Ivo | last post by:
Hi, somewhere in my code a timeout is set in a function: var timer = null; function foo( n ) { var delay = 500; // do stuff with n timer = window.setTimeout( 'foo(' + ( ++n ) + ');', delay ); }
5
3632
by: David Thielen | last post by:
Hi; Is there a way to do <%# switch (Eval("prop")) ... where the case statements are the text to put on the page? -- thanks - dave david_at_windward_dot_net http://www.windwardreports.com
3
1892
by: rick | last post by:
I have a situation where I want to write an extensible class that is capable of saving / restoring properties of classes derived from it. A simplified example is explained as follows;- class A { private $Save ; public function Push() {
0
8678
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9166
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9030
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4621
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2333
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.