Change Language


Follow Navioo On Twitter

position

Specifies how the element is positioned relative to the page or other elements.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
  • IE: IE 6 does not support position:fixed.

Values

inherit Inherit the value from the parent element.
static Position the element in the order that it occurs in the document.
relative Position the element with offsets relative to the document flow.
absolute Position the element at the specified coordinates.
fixed Position the element in a fixed position as the page scrolls.

Example

View demo

Availability

W3C CSS2

Related

Examples -> Source code Demo online - > position:

Ajax Javascript feed

↑ Grab this Headline Animator