Look up position in Wiktionary, the free dictionary.
Position may refer to: Wikipedia does not have an article with this exact name. ... Wiktionary is a Wikimedia Foundation project intended to be a free wiki dictionary (hence: Wiktionary) (including thesaurus and lexicon) in every language. ...
This is a disambiguation page: a list of articles associated with the same title. If an internal link referred you to this page, you may wish to change the link to point directly to the intended article.
The 'position' and 'float' properties determine which of the CSS2 positioning algorithms is used to calculate the position of a box.
For relatively positioned boxes, the offsets are with respect to the outer edges of the box itself (i.e., the box is given a position in the normal flow, then offset from that position according to these properties).
Relative positioning may also be used as a general form of superscripting and subscripting except that line height is not automatically adjusted to take the positioning into consideration.
Position: relative specifies that the element will be relatively positioned, position: absolute that it will be absolutely positioned, position: static that the element will flow normally, and position: fixed that the element will be fixed with respect to the document window or viewport.
In absolute positioning, the position of an element is specified relative to edges of a box known as a containing block.
In relative positioning, elements are moved relative to their normal position, but with subsequent elements treating them as though they were in their original position.