|
|
ClearCSSProperty
The clear property indicates which sides of an element's boxes may not be adjacent to an earlier floating box.
You are here: Home > CSS Reference > Properties > clear
Usage
Values
- none
- left
- right
- both
- inherit
Browser compatibility
| Test | IE8 | IE7 | IE6 | FF3 | FF2 | Saf3 |
| style.clear reflects <div style='clear: both'> | Y | Y | Y | Y | Y | Y |
| style.clear reflects <div style='clear: left'> | Y | Y | Y | Y | Y | Y |
| style.clear reflects <div style='clear: none'> | Y | Y | Y | Y | Y | Y |
| style.clear reflects <div style='clear: right'> | Y | Y | Y | Y | Y | Y |
Further reading
Sign in to add a comment
