Export (0) Print
Expand All
Expand Minimize

2.2.23 [CSS-Level2-2009] Section 9.5.1, Positioning the float: the 'float' property

V0207:

The specification states:

[The float] property specifies whether a box should float to the left, right, or 
not at all. It may be set for any element, but only applies to elements that 
generate boxes that are not absolutely positioned.

Quirks Mode and IE7 Mode (All Versions)

The float property is incorrectly applied to absolutely positioned elements.

V0208:

The specification states:

4. A floating box's outer top may not be higher than the top of its containing 
block. When the float occurs between two collapsing margins, the float is 
positioned as if it had an otherwise empty anonymous block parent taking part in 
the flow. The position of such a parent is defined by the rules in the section on 
margin collapsing.

Quirks Mode and IE7 Mode (All Versions)

A floated element that occurs between two margins that would otherwise collapse prevents the margin from collapsing.

Show:
© 2014 Microsoft