February 2006
Intermediate to advanced
826 pages
63h 42m
English
top
Specifies the offset between the top outer edge of a positioned element and the top edge of its containing block.
<length> | <percentage> | auto | inherit
auto
Positioned elements (where position value is relative, absolute, or fixed).
No.
Refer to height of containing block.
For static elements, auto.
For length values, the absolute length. For percentage values, the
specified value. For relatively positioned elements, if both top and bottom are auto, their computed values are both 0; if
one is auto, it becomes the
negative of the other; if neither is auto, bottom will become the negative value of
top.
Read now
Unlock full access