[thelist] clarification on strange css property please

aardvark roselli at earthlink.net
Wed Mar 20 08:20:18 CST 2002


> From: "Scarlett Julian (ED)" <Julian.Scarlett at sheffield.gov.uk>
[...]
> FONT: 12px/1.2 Verdana, Arial, Helvetica, sans-serif;
>
> I am a bit puzzled by the 12px/1.2 shorthand - can anyone shed some
> light for me? It seems to be saying that the size is either 12px or
> 1.2 something or am I reading this wrong?

http://www.w3.org/TR/REC-CSS1#font

that's shorthand... the first number is the font-size, the second
number is the line-height (although the lack of units puzzles me)...




More information about the thelist mailing list