Description

Sets the position of the left edge of a positioned element. When the element is positioned absolute the left edge is positioned from the edge of a previous positioned element or the body. Relatively positioned elements are positioned from the position where they would have been in the documents normal flow.

See also:

Live Example
Play with the code in the textarea below.

Values
length | percentage | auto
Default value
auto
Introduced in CSS version
2.1
Applies to elements
Positioned Elements
Inherited
No
Browser Support
BrowsersIEFirefoxSafariOperaChrome
Versionsfull 8 part 5.51160.2
Belongs to:

See the full list CSS properties and browser support: CSS Properties