|
Kitka -> RE: css rollovers not working AOL Customer (6/18/2005 17:55:15)
|
quote:
0px doesn't mess anything up. If it did, then using any numerical number would mess it up if you used the px. In essence by stating this, its like saying using px will cause errors. No, it won't mess things up, but it is completely redundant. 0px = 0pt = 0em = 0% etc. ad infinitum. Zero is always 0 no matter what you measure it with. I go by the W3 CSS2 syntax, which is authoritative: quote:
4.3.2 Lengths Lengths refer to horizontal or vertical measurements. The format of a length value (denoted by <length> in this specification) is an optional sign character ('+' or '-', with '+' being the default) immediately followed by a <number> (with or without a decimal point) immediately followed by a unit identifier (e.g., px, deg, etc.). After the '0' length, the unit identifier is optional. http://www.w3.org/TR/REC-CSS2/syndata.html#length-units Anything which reduces the code bulk but doesn't affect page rendering is good for me. But as they say, to each his own. [:)]
|
|
|
|