CSS Properties

User Guide / CSS Reference / CSS Properties

top

Syntax

top: auto | length | percent

Default

auto

Inherited

No

Comments

This property determines the top offset for positioned elements (ie. elements with a position value of relative, absolute or fixed).