CSS Property - Clear

Value: none | left | right | both
Initial: none
Applies to: all elements
Inherited: no
Percentage values: N/A

This CSS property specifies if an element allows floating elements on its sides.

To be more specific the value of this property lists the sides where floating elements are not accepted.

With "clear" set to "left", an element will be moved below any floating element on the left side. With "clear" set to "none", floating elements are allowed on all sides.


img {
clear: right;