Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- mixed units in a single css declaration
August 25, 2006, 12:02 am
rate this thread
a css declaration and/or not removing the px from 0px, eg.
margin: 1% 0 0px 250px; apart from anything to do with any
confusion when the specs are unrealisable or anything to do with
the advisability of it. I am concerned that some browser might
simply not take heed of the specs even when it obviously can.
Re: mixed units in a single css declaration
On images, I get a validator warning with something like your example (but
not, apparently, on other things like divs.)
Also, line-height:0; triggers an error whereas line-height:0px; does not.
Infinity has its limits.