Change Language


Follow Navioo On Twitter

top

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

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
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.
inherit Inherit the value from the parent element.
auto Top 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

Examples -> Source code Demo online - > top:

Ajax Javascript feed

↑ Grab this Headline Animator