Name

styleFloat — NN n/a IE 4 DOM n/a

Synopsis

Read/Write

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. See the float style attribute in Chapter 10 for more details.

Example

document.all.myDIV.style.styleFloat = "right"

Value

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

Default

None.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.