Name
clear — IE4 P/Y | IE5 P/Y | NN4 P/P | Op3 B/-
Synopsis
Defines the sides of an element on which no floating images may be placed. The effect of this is to move the element downward until the top of its border-edge is below the bottom edge of the floated element.
Example
H1 {clear: right;}
Values
none
| left
|
right
| both
Default
none
Inherited
no
Applies to
all elements
Get Cascading Style Sheets: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.