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

Re: Floated elements and wrapping

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Sun, 1 Nov 1998 15:05:15 +0000 (GMT)
To: braden@endoframe.com
cc: W3C Style Sheets Mailing List <www-style@w3.org>
Message-ID: <Pine.GSO.4.04.9811011502230.3637-100000@midge.bath.ac.uk>
On Sat, 31 Oct 1998, Braden N. McDaniel wrote:

> Consider:
> 
> DIV { width: 200px }
> IMG { width: 75px; float: left }
> 
> <DIV><IMG SRC="foo"><IMG SRC="foo"><IMG SRC="foo"></DIV>
 
> Should the third image be adjacent to the second, and extend past the
> right border of the DIV, or should it "wrap" to the next "line", and
> display below the first image? 

Yes. (IE4 fails to do this).

See CSS2 section 9.5 paragraph 2 sentence 4.

http://www.w3.org/TR/REC-CSS2/visuren.html#floats

-- 
Ian Hickson
Received on Sunday, 1 November 1998 10:05:20 GMT

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