Javascript Reference
Categories: STYLE

javascript STYLE styleFloat

@Aug. 15, 2009, 12:29 p.m.
styleFloat Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a  

 

Read/Write  

Specifies on which side of the containing box the element aligns so that other content wraps around the element. When the property 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.  IE 5 for Macintosh duplicates this property as cssFloat, the DOM 2 version, which is also supported (by itself) in Netscape 6.

 
Example
 
document.getElementById("myDIV").style.styleFloat = "right";
 
Value

One of the following constants (as a string): none | left | right.

 
Default

None.


Powered by Linode.