Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

cssFloat property

Sets or retrieves a value that specifies whether a box should float to the left, right, or not at all.

Document Object Model (DOM) Level 2 Style Specification, Section 2.3

Syntax

JavaScript

p = object.cssFloat

Property values

Type: String

none

Default. An object is displayed where it appears in the text.

left

Text flows to the right of the object.

right

Text flows to the left of the object.

Standards information

Remarks

The cssFloat attribute can be set for elements that generate boxes that are not absolutely positioned.

See also

CSSStyleDeclaration
currentStyle
style

 

 

Show:
© 2014 Microsoft