W3C home > Mailing lists > Public > www-style@w3.org > December 2001

Re: Newbie questions

From: Jens Müller <jens@unfaehig.de>
Date: 23 Dec 2001 19:48:26 +0100
To: www-style@w3.org
Message-ID: <lww.1009133306.fsf@jens.unfaehig.de>
"Thomas Watson" <w@tson.dk> writes:

> I'm not sure, but shouldn't all measurements be in some form of unit? 
> (Inch, pixel etc?) e.g.: body {
> 
>   border: 0px;
>   padding: 0px;
>   margin: 0px;
> } I know that IE 6 has a hard time figuring out what to do with the
> integer "0" if no unit is provided. Besides that I think it's a good
> custom always to clearly show what unit you are using instead of
> relying on a default value

You always have to specify a unit when one is necessary. But 0 is 0,
regardless of unit.
Received on Sunday, 23 December 2001 13:49:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:11 GMT