CSS Property: float
[this page | pdf | back links]
The CSS (CSS1) float property indicates whether an
element should float. If the element is absolutely positioned then the float
property is ignored.
Valid property values
(other than inherit
and initial) are:
|
Value
|
Description
|
|
left
|
Element floats to left
|
|
none
|
(default value).
Element not floated (i.e. displays exactly where it occurs in text)
|
|
right
|
Element floats to right
|
|
Default Value:
|
none
|
|
JavaScript syntax:
|
e.g. object.style.cssFloat="right"
|
|
Inherited:
|
No
|
|
Animatable:
|
No
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties