style.styleFloat (Property)

A property that allows styled elements to float.

Availability:

JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myStyle.styleFloat
CSS syntax:style-float: anAlignment
Argument list:anAlignmentA floating alignment control value

If you are flowing text around block-structured elements, this property provides some control over which side the block-structured element is aligned on.

The following values can be assigned to this property:

When the property is set to "none", the element will appear inline with the text at the position determined by its location in the document source. For small objects this means they will appear to be symbols within the text without casing any line break.

The style.float and style.floatStyle properties are related.

See also:style.float