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

floats (block or inline context)

From: Sigurd Lerstad <sigler@bredband.no>
Date: Sat, 26 Oct 2002 18:04:28 +0200
Message-ID: <000e01c27d09$5cef75d0$511273d5@mmstudio>
To: <www-style@w3.org>
Hello,

en element that is a float is forced to have display:block,

and block boxes participate in a block formatting context, and inline elements in an inline formatting context..

But are elements that are floats an exception to this rule, in a block formatting context there's no notion of current line for example, so a float box should rather be part of an inline formatting context with special handling of floats?

(I realize that this is very implementation dependant, and that implementations can do whatever they want as long as the results are the same, just asking for some pointers :)

thanks,

--
Sigurd Lerstad
Received on Friday, 25 October 2002 22:04:55 GMT

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