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.

Example

 .logo{
  position:absolute; 
  top:20px;
}

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
BrowsersIE ieFirefox firefoxSafari safariOpera operaChrome chrome
Versionsfull 8, part 5.51160.2
Belongs to:

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