|
|
FloatCSSProperty
The float property specifies whether a box should float to the left, right, or not at all.
You are here: Home > CSS Reference > Properties > float
Usage
Values
- left
- right
- none
- inherit
Browser compatibility
| Test | IE8 | IE7 | IE6 | FF3 | FF2 | Saf3 |
| style.cssFloat reflects <div style='float: bogus'> | N | N | N | Y | Y | Y |
| style.cssFloat reflects <div style='float: left'> | N | N | N | Y | Y | Y |
| style.cssFloat reflects <div style='float: none'> | N | N | N | Y | Y | Y |
| style.cssFloat reflects <div style='float: right'> | N | N | N | Y | Y | Y |
Further reading
Sign in to add a comment
