Positioning
CSS positioning controls how an element participates in normal flow and how offsets are calculated.
The position property supports static, relative, absolute, fixed and sticky positioning. Positioned elements can also establish containing blocks for descendants.
Taking control of where a box sits
The position property supports static, relative, absolute, fixed and sticky positioning. Positioned elements can also establish containing blocks for descendants. In practical terms, Positioning belongs to the presentation and layout layer. Knowing that layer is important because it tells you what the term can change, what it cannot change, and where to look when something behaves unexpectedly.
Moving an element relative to its containing context
position:absolute removes an element from normal flow and positions it against its containing block, unlike static or relative layout.
Where normal flow stops being enough
You do not need to memorize the term in isolation. It becomes useful when you can recognize it in the tool, browser, file or conversation where the concept is doing real work.
Positioning is not the same thing as layout
CSS positioning controls how an element participates in normal flow and how offsets are calculated. By contrast, z-index controls the stacking order of positioned and certain other elements within stacking contexts. The two can appear in the same project, but they describe different parts of the work and should not be used as interchangeable labels.
The mistake: using absolute positioning for ordinary structure
The common mistake is to use Positioning as if it also meant Z-index. That blurs two separate decisions and usually sends troubleshooting in the wrong direction. A better test is practical: Identify the containing block before changing top, right, bottom or left values.
Why containing blocks matter
In day-to-day work, Positioning matters when the concept needs to be identified precisely instead of being grouped with a nearby term. The practical value is not the vocabulary itself; it is being able to identify the right control, file, setting or decision when the concept becomes relevant.
position:absolute removes an element from normal flow and positions it against its containing block, unlike static or relative layout. That example is useful because it turns the definition into something you can recognize, test and discuss with other people working on the same project.
Related terms worth learning next
Sources and further reading
Use these references when you need documentation-level detail, specifications or product-specific behavior beyond the plain-English explanation above.