Le 7 juin 2012 à 06:23, mem a écrit :

> So, perhaps this is what I'm not getting: 
> 
> if we float an element to the right, for example, but we give it a width of 
> 100% what will that float: right visually accomplish ?

Nothing,… maybe ? No, not really nothing. Floating elements has lots of 
implications (not only for the element itself, but for the flow of the 
document).

Floating that element might have implications for how the content (descendants) 
of that element affect the element itself. Floating the element also affects 
margin-collapsing. It will affect how subsequent block elements behave.

For example, floating the element establishes a block formatting context 
(css2.1:9.4.1) - as such it will contain floated descendants. 

--
Philippe Wittenbergh
http://l-c-n.com



______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to