HTML XHTML The Complete Reference
home » reference » appendix b » css1 / css2 properties

clear


This property specifies the placement of an element in relation to floating objects. Possible values are left, right, both, and none. The property acts much like the clear attribute for the <br> tag and continues to return until the left, right, or both columns are clear. The default value is none.

Examples


br.clearright {clear: right;}
#clearboth {clear: all;}

Browser and CSS Support Notes


CSS1
IE 4, 5 (buggy), 5.5, 6
Nav 4, 4.5-4.8 (buggy), 6, 7
Opera 5, 6, 7

(X)HTML Elements
CSS Properties
Back: caption-side Next: clip
< Home | About | Chapters | Examples | Errata | Reference | Site Map >