Change Language


Follow Navioo On Twitter

float

Specifies if an element should float towards the left or right margin of its parent element or web browser.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
4.0+ 4.0+ 1.0+ 6.0+ 1.0+

Usage

["left" | "right" | "none"]

Values

inherit Inherit the value from the parent element.
left Float towards the left margin of the parent element.
right Float towards the right margin of the parent element.
none No float.

Availability

W3C CSS2

Related

Examples -> Source code Demo online - > float:

Ajax Javascript feed

↑ Grab this Headline Animator