style.float (Property)

An alignment control that indicates how text is to be flowed round the object that the style is applied to.


CSS level - 1
JScript - 3.0
Internet Explorer - 4.0
Property/method value type:String primitive
JavaScript syntax:IEmyStyle.float
CSS syntax:float: anAlignment
Argument list:anAlignmentA float control word

This property defines which side is used for the reference alignment so that text can flow round the other.

Setting the property value to none allows the object to be placed inline according to where it appears in the document source.

The following keywords can be used with this property:


See also:style.clear, style.styleFloat