473,320 Members | 1,988 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 1537
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
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...
12
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...
13
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...
22
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...
2
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
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...
4
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...
5
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
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
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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.