|
Posted by Jukka K. Korpela on 07/28/06 11:02
jojo <jojo.hafner@gmx.de> scripsit:
> BTW: ASFAIK you have to specify a unit (like px, em or %) in CSS,
That's generally true, and important. If you say margin: 5, browsers
_should_ ignore the rule, by CSS specs. Some browsers in some states treat
it as margin: 5px, but this just adds to the confusion. So use units, Luke!
> so you cannot set the margin/padding to "0" but to "0px".
Actually you can. Zero is an exception: the unit can be omitted. That's
logical, since the unit doesn't really matter when the number is exactly
zero.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|