top

Specifies the y-coordinate for the position of the element relative to the top edge of the parent element or browser window.

Platform Support

IENetscapeMozillaOperaSafari
4.0+4.0+1.0+6.0+1.0+

Usage

Example values: 50px, 15%, auto, etc.

Values

*Specify a value for top that is not on this list.
inheritInherit the value from the parent element.
autoTop position to be determined by the window or parent element.

Remarks

You can also specify a fixed pixel or percentage value for top.

Availability

W3C CSS2

Related

text_css aptana_docs