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

Re: Newbie questions

From: Jesse McCarthy <mccarthy36@earthlink.net>
Date: Thu, 22 Nov 2001 18:47:35 -0500
To: www-style@w3.org
Message-ID: <MWMail.rjajlrnl@host.none>
"Thomas Watson" <w@tson.dk> wrote on 11/22/01 4:51:55 AM:
>
>I'm not sure, but shouldn't all measurements be in some form of unit? (Inch, 
>pixel etc?) 
>

If you're in doubt, why not look at the spec?  You're allowed to omit the 
unit if the value is 0. 

>I know that IE 6 has a hard time figuring out what to do with the integer 
>"0" if no unit is provided. 

That's its problem, and pathetic if true.

>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. 
>

It really doesn't matter what unit you're using 0 of, does it?
Received on Thursday, 22 November 2001 18:53:41 GMT

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