float | NN 4 IE 4 CSS 1
| Inherited: No
Determines on which side of the containing box the element aligns so that other content wraps around the element. When the attribute is set to none, the element appears in its source code sequence, and at most, one line of surrounding text content appears in the same horizontal band as the element. Due to the prior reservation of float as a keyword in JavaScript, the attribute name is not available as a style object property name in object models that use JavaScript. Internet Explorer adopted the styleFloat property name; the W3C DOM and Netscape 6 use cssFloat.
CSS Syntax
    float: alignmentSide | none
Value
An alignmentSide is one of the following constants: left | right.
Initial Value
none
Example
    img.navButton {float: right}
Applies To
All elements except positioned elements (or generated content).
Object Model Reference
    [window.]document.getElementById("elementID").style.styleFloat
    [window.]document.getElementById("elementID").style.cssFloat