Position and Movement
Before CSS, if you wanted to control the layout of the page with any consistency, you had to use an HTML table. As for any form of animation, you either had to use something such as an animated GIF or a plug-in such as Flash.
The proposed CSS-P attributes were eventually incorporated into the CSS2 specification. The positioning properties in CSS2 include the following:
positionproperty takes one of five values:
staticpositioning is the default setting for most elements. This means they’re part of the page flow, and other elements in the page impact the element’s position, and it impacts all elements that follow.
relativepositioning is similar except that the element is offset from its normal position. A position set to
absolutetakes the element out of the page flow, allowing you to set its position absolutely in the page. This also allows you to layer elements, one on top of another, just by positioning them in the same location. A
fixedposition is similar to absolute positioning, except the element is positioned relative to some viewport. For most DHTML ...