W3C home > Mailing lists > Public > www-validator-css@w3.org > November 2009

Float none problem

From: Lehilton Chaves <lehilton@gmail.com>
Date: Sun, 8 Nov 2009 18:59:33 -0200
Message-ID: <a542e5520911081259n7ef4ce66q12e6c11261ba8972@mail.gmail.com>
To: www-validator-css@w3.org
Hello,
I suspect that the validator has a minor bug.

I submitted a css file with something like

#id {
float: none;
}

and the validators showed me the message:

In (x)HTML+CSS, floated elements need to have a width declared. Only
elements with an intrinsic width (html, img, input, textarea, select, or
object) are not affected

Doesn't float:none means that the element is not floated? I think this alert
sholdn't appear in this case.


Thanks for this great tool .


Chaves
Received on Monday, 9 November 2009 02:17:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:25 GMT