Posted by Toby A Inkster on 02/01/07 11:51
fuli open wrote:
> Thanks for pointing out. It was originally '1.5'. I then ran CSS
> validator on it, and was told to put an unit after it. So I put 'px'
> there. That's why.
The W3C CSS validator is riddled with bugs such as this. 'line-height'
does not need a unit, and although a unit *can* be applied, it is
generally more useful to not specify any unit.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/CSS/Javascript/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!
[Back to original message]
|