Respect nearby floating elements

clear

Specify whether this element should flow around a nearby floating element or be moved in its entirety below it.

Property values

Use one of these keywords:

left Start this element below any adjacent elements that have the property float:left.
right Start this element below any adjacent elements that have the property float:right.
both Start this element below any adjacent elements that have the property float:left or float:right.
none Keep the element's position in the normal flow of text, letting it flow around adjacent elements that have float:left or float:right.

Examples

clear: both;
clear
0

style > position > clearRespect nearby floating elements

🔗 🔎