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

RE: Re: Floats need explicit width??

From: Douglas Perreault CPA* CITP <doug@perreault.us>
Date: Tue, 17 Feb 2009 16:50:01 -0500
To: <www-validator-css@w3.org>
Message-ID: <006f01c99149$af8be1b0$0ea3a510$@us>
Paul,

Just in case there may be any confusion, I am just an interested party not
anyone of consequence in this discussion. My opinion is about as
authoritative as Homer Simpson's. Having said that, for me it would be
useful to have this as a reminder about what may be causing an alignment
problem in my page.

Yes, you're right, without the float having an explicit width, the item will
still float. In further testing I see it's the width on the parent element
that I often forgot to include, so I guess this message wouldn't directly
resolve the issue I was trying to address, though I suppose it might be a
good clue of where I should be looking.

In any case, what I was really looking for was an "informational" message as
Phillip was describing. Personally I don't consider a warning the same as an
error. My opinion, but I see no reason why, for example, I have to describe
a background color and a color if the background color is already defined
elsewhere. It's just extra bandwidth wasted. I know it's not good form, but
most of the pages I create are simple and we're interested in small size,
rather than verbose explicit declarations. So when I see that warning, I
ignore it unless it's convenient to address it directly.

However, I do see your point. Since CSS 2.1 does not require explicit
widths, the "warning" is incorrect. But an informational message would be
still be nice in my opinion.

--Doug
Received on Tuesday, 17 February 2009 21:56:00 GMT

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