How to Use the CSS Clear Property
clear is used to indicate whether an element is next to elements before it or whether the element should be below the other element.
Possible values of the
clear property are:
In the following example, a paragraph without a
clear property applied will float to the right
div element. The 2nd paragraph uses
clear to prevent floating.
The code used to create the results above is shown below:
<p>This text floats.</p>
<p class="clear">This text doesn't float.</p>
Author: Chris Minnick