Back to CSS1 Reference | CSS1 Properties
Prev border-width | Next color
- Property
- clear
- Values
- none, left, right, both
- Initial
- none
- Inherited
- no
This property specifies if an element allows floating elements on its sides. More specifically, 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. Example:
H1 { clear: left }