Float none problem

View: New views
1 Messages — Rating Filter:   Alert me  

Float none problem

by Lehilton Chaves :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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