NOTICE: This website is no longer updated or supported - as such many of the techniques used to build it may seem antiquated in the modern day. It is preserved for historical reasons only.

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


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.


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

Browser and CSS Support Notes

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 >