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.
- Live Example
- Play with the code in the textarea below.
- length | percentage | auto
- Default value
- Introduced in CSS version
- Applies to elements
- Positioned Elements
- Browser Support
Browsers IE Firefox Safari Opera Chrome Versions full 8 part 5.5 1 1 6 0.2
See the full list CSS properties and browser support: CSS Properties