W3C home > Mailing lists > Public > www-style@w3.org > March 2011

Re: [CSS21] Does the root element establish a block formatting context?

From: Alan Gresley <alan@css-class.com>
Date: Fri, 18 Mar 2011 00:03:57 +1100
Message-ID: <4D8206BD.1010507@css-class.com>
To: Anton Prowse <prowse@moonhenge.net>
CC: "www-style@w3.org" <www-style@w3.org>, fantasai <fantasai.lists@inkedblade.net>
On 9/08/2010 8:30 PM, Anton Prowse wrote:

> Note that the root element possesses all the characteristic properties
> of an element which establishes a BFC, including in relation to margin
> collapsing.


And this is shown as true when using floats.

<!DOCTYPE html>

<style type="text/css">
html {background: silver;}
body {background: white;}
</style>

<div style="float:left; height:2500px; background:lime;">float</div> 
some text



-- 
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
Received on Thursday, 17 March 2011 13:04:32 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:38 GMT