float
Definition
The float property is used to float an element to the left or right. Subsequent elements wrap around the floating element. The screen shot below shows an image inserted at the begining of a paragraph without any float settings.

The screen shot below shows shows an image inserted at the begining of a paragraph with the float property set to right.

The screen shot below shows shows an image inserted at the begining of a paragraph with the float property set to left.

Example
img {float: right;margin-left: 3px;}
Characteristics
Possible values
left- Float element to the left.
right- Float element to the right.
none- Do not float element.
inherit- Use the same computed value as the parent element for this property.
Default value
none
Applies to
All elements
Inherited
No
See also