On Jun 6, 2006, at 4:02 PM, Herrod, Lisa wrote:

From what I understand, to use 'font' as a shorthand property you have to
include the size and font-name as a minimum (in that order).

I thought the order of properties was important?

for example, isn't weight listed first?

i.e

{font: weight style variant size/line-height font-name}


or do you guys find it works in any order?

Yes order is important in this case. But only 2 properties are required: font-size and font-family.

Note that adding additional properties can lead to surprising results sometimes
h1 { normal 1em/2 sans-serif}
the 'normal' will apply to all 3 properties: weight, style, variant

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>





******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to