What's new? | Help | Directory | Sign in
Google
doctype
Documenting the open web
  
  
  
    
Search
for
Updated Jun 25, 2008 by pilgrim
Labels: about-css, is-css-property, from-w3c
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

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