Floating or anchored?
This property determines whether an element uses its parent's flow-of-text algorithm to control its position.
Each element has two properties which determine its placement in the document: the
left values. Exactly how to use those two values to arrive at the element's actual place in the document is determined by the
Each element also has
right properties — which are directly connected to its
width — and these four values are used in the flow-of-text algorithm as well.
These are the keywords that can be used, together with a description of how they change the interpretation of
|keyword||obeys parent's flow?||uses top, left, bottom, right||interpretation of top, left, bottom, right|
|static||yes||no||This element is placed within the parent's boundaries, in the first available space that will fit its width and height, immediately after all of its prior siblings are laid out using their top, left, bottom and right values.|
|relative||yes||yes||This element initially uses the |
|fixed||no||yes||This element interprets its |
|absolute||no||yes||This element interprets its |
|sticky||yes/no||yes||This element is initially |