The CSS Position Attribute

The legal values for this attribute are static, relative, absolute and fixed. Static is the default value. Position has been discussed at length on other pages on this site

This is not an inherited property - i.e. in a child element, if not assigned, it takes the default value rather than the corresponding value in its parent container.

This attribute can also be assigned the setting inherit which causes it to pick up its value from the parent element.

Jump To...

Colophon