offline version v3


218 of 298 menu

position property

The position property specifies the way elements are positioned. This property is most often used in conjunction with the top, right, bottom, left properties, which set indents on the top, right, bottom, and left respectively.

Syntax

selector { position: absolute | relative | fixed | static | sticky; }

Values for position

Value Description
absolute Absolute positioning.
relative Realtive positioning.
fixed Fixed positioning.
static Static positioning.
sticky Sticker.

Default value: static.

enru