David Laakso wrote:
>Leading (line-height) is expressed as a raw number. There is no unit of
>measure(px, em, %) used with it. The validator is just being a little
>over-zealous, and complaining about a parse error open string.
>line-height: 2; is correct.
>To make the *validator* happy, close the string, like so:
>line-height: 2.0;


Note that a validator bug has been filed 
<http://www.w3.org/Bugs/Public/show_bug.cgi?id=2307>, but there 
appear to be very few developer resources available to make fixes to 
this tool.  If anyone out there is a bored developer, this might be 
one way to help the community.  In any case, since we know that 
line-height: 2; is correct, I would argue that there is no need 
whatever to make the validator happy.  It is a tool to help you, and 
you should feel free to ignore it whenever you are certain it is wrong.


-Adam Kuehn 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to