Absolute Position
suggest changeWhen absolute positioning is used the box of the desired element is taken out of the Normal Flow and it no longer affects the position of the other elements on the page. Offset properties:
- top
- left
- right
- bottom
specify the element should appear in relation to its next non-static containing element.
.abspos{
position:absolute;
top:0px;
left:500px;
}
This code will move the box containing element with attribute class="abspos"
down 0px and right 500px relative to its containing element.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents