W3C home > Mailing lists > Public > www-style@w3.org > October 1996

Re: margins on floated elements

From: Bert Bos <bert@w3.org>
Date: Tue, 29 Oct 1996 17:29:37 +0100
To: www-style@w3.org
Message-ID: <327630F1.716F@w3.org>
David Perrell wrote:

> I had assumed that in the case where a floating element would be forced
> outside the boundary of the parent by a previous floating element, that
> element should be moved down until it clears the element forcing it
> outside. But current versions of NSN and MSIE never break a sequence of
> ALIGN=left images, continuing to render them side-by-side ad infinitim.
> This is very un-useful behavior.

I agree.

Sometimes they do move down, though. If there is a number of
left-floating images followed by a right floating one for which there is
not enough room, the right floating one will move down. (At least in
MSIE, but don't try it with more than one right-floating image:-) )

The new CSS1 spec now explicitly requires the behaviour you describe: a
floating image moves down if earlier floating images don't leave enough
room for it.


Bert
Received on Tuesday, 29 October 1996 11:29:53 GMT

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