clear

Support Key: [CSS1|CSS2|CSS2.1] [IE4B2|N4B2|O3.5|S1]
Other Classification Properties
display
visibility
position
float
= Index DOT Css by Brian Wilson =
  Main Index | Property Index | CSS Support History | Browser History  



   Quick Statistics   
Default Value:
   none
Applicable Elements:
Block level elements (including floated elements)
Inherit From Parent:
No
Applicable Media:
Visual
HTML Equivalent:
<br CLEAR= left|right|all>
Official Docs:
CSS1: Sect. 5.5.26
CSS2: Sect. 9.5.2, CSS2.1: Sect 9.5.2
What is it?
This property specifies whether the current element allows floated elements occuring earlier in the document to float along its sides. The values for this property indicate which sides of the element do not allow floating elements. If the current element has any floating sub-elements, the property does not apply to them.

Allowed Values
inherit
[CSS2|CSS2.1] [N6|O4|S1]
Type: Explicit
Description:
Explicitly sets the value of this property to that of the parent.
none
[CSS1|CSS2|CSS2.1] [IE4B2|N4B2|O3.5|S1]
Type: Explicit
Description:
No restriction is made on floating element placement behavior.
left
[CSS1|CSS2|CSS2.1] [IE4B2|N4B2|O3.5|S1]
Type: Explicit
Description:
The current element is shifted such that the top edge of the top margin is below the bottom edge of any left-floated elements previously occuring in the document.
right
[CSS1|CSS2|CSS2.1] [IE4B2|N4B2|O3.5|S1]
Type: Explicit
Description:
The current element is shifted such that the top edge of the top margin is below the bottom edge of any right-floated elements previously occuring in the document.
both
[CSS1|CSS2|CSS2.1] [IE4B2|N4B2|O3.5|S1]
Type: Explicit
Description:
The current element is shifted such that the top edge of the top margin is below the bottom edge of any floated elements previously occuring in the document.
Example
Ext/Doc: address { clear: both }
In-Line:  <address STYLE="clear: both">This is a test document</address>
Notes Browser Peculiarities

Boring Copyright Stuff....