Compatibility: IE4+ N4+
Version: Level 2
The position property is one of two properties that can be used to set the
physical position of an element in terms of where and how it will appear on a page.
The other positioning property is float.
These two properties allow you to select among the three possible positioning schemes
in CSS, which are:
The position property can be used in conjunction with the bottom, left, right,
and the top properties.
- normal flow The elements are displayed in the normal order that they occur.
- floats The element is shifted to the right or left.
Other elements, such as text, can optionally flow around the side.
- absolute positioning The element is offset a specified distance with respect
to the position it has in the normal flow.
The absolute value allows an element to be placed anywhere on a page.
The position is set using the bottom, left, right, or top properties.
The fixed value is currently not recognized by any browser.
The relative value moves the element an offset distance relative to the position
it has in the normal flow of the display of the page.
The static value dictates that an element will be positioned as it
occurs in the normal flow of the display of the page.
Click to view example in separate window
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.