- Code: Select all
font: normal bold 0.8em 1.4em sans-serif;
But correct is this rule:
- Code: Select all
font: normal bold 0.8em/1.4em sans-serif;
The font-size and line-height value are separated with a slash.
http://www.w3.org/TR/CSS21/fonts.html#propdef-font
A other bug concerning the CSS inspector. I create this shorthand rule with the inspector:
- Code: Select all
font: bold small normal Verdana, Arial, Helvetica, sans-serif;
This means font-weight:bold, font-size:small, line-height:normal and font-family:Verdana, Arial, Helvetica, sans-serif.
If I move the cursor to a other rule and go back to the font rule, the CSS inspector shows font-size:Verdana, line-height:Arial, and other false values.