- Description
Sets the position of the top edge of a positioned element relative to the position of it's positioned parent or the top edge of the page.
See also:
- Live Example
- Play with the code in the textarea below.
- Values
- length or percentage values and auto
- Default value
- auto
- Introduced in CSS version
- 2.1
- Applies to elements
- Positioned elements
- Inherited
- No
- Browser Support
Browsers IE Firefox Safari Opera Chrome Versions full 8, part 5.5 1 1 6 0.2
Belongs to:
See the full list CSS properties and browser support: CSS Properties