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

Received on Monday, 9 November 2009 02:17:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:46 UTC