# Property Description

The float property specifies whether or not an element should float.

Note: This property does not apply to absolutely positioned elements.

# Property Values

Value | Description
--- | ---
none | (default) The element is not floated, and will be displayed just where it occurs in the text
left | The element floats to the left
right | The element floats the right
inherit1 | Specifies that the value of the property should be inherited from the parent element

# Examples

This example floats an image to the right.

    img {
      float:right;
    }

# Browser Support

Firefox | IE | Chrome | Opera | Safari

1 - 'inherit' not supported by IE

# Miscellaneous Information

Inherited: | No
Defined In: | CSS1