On Monday 2005-11-28 15:12 -0800, Michael Hulse wrote: > font: normal 76.1%/125 "Lucida Sans Unicode", verdana, helvetica, > sans-serif;
Hopefully you mean "1.25" rather than "125". > Rather than: > > font: normal 76.1%/125% "Lucida Sans Unicode", verdana, helvetica, > sans-serif; > > In the above example, is specifying a unit for line-height a bad thing, > sloppy, or just a matter of individual coding preference. For line-height you should never specify a unit, even though you can. (Specifying line-height with units has inheritance problems.) For other properties, if you want to specify a length that's not 0, you're required to use units. -David -- L. David Baron <URL: http://dbaron.org/ > Technical Lead, Layout & CSS, Mozilla Corporation
pgp9y7W6j4ig0.pgp
Description: PGP signature
______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
