javascript STYLE cssFloat

cssFloatNN 6 IE 5(Mac) DOM 2  

Read/Write  

Controls the CSS float attribute for an element, allowing adjacent text content to wrap around block elements, such as images. Changing the value in IE 5 for Macintosh has no effect. The "css" prefix for this property name deflects potential conflicts with the float reserved JavaScript keyword.

 
Example
 
document.getElementById("myDiv").style.cssFloat = "right";
 
Value

String of an allowable constant value: left | right | none.

 
Default

none


1833,Nickname,Homepage or email,Comments here,Add comment