Posted
·
Edited by Ingolme Removed links to competing websites
position:relative
If you specify position:relative, then you can use top or bottom, and left or right to move the element relative to where it would normally occur in the document.
position:absolute
When you specify position:absolute, the element is removed from the document and placed exactly where you tell it to go.
when to use Position Relative
in CSS
Posted · Edited by Ingolme
Removed links to competing websites
position:relative
If you specify position:relative, then you can use top or bottom, and left or right to move the element relative to where it would normally occur in the document.
position:absolute
When you specify position:absolute, the element is removed from the document and placed exactly where you tell it to go.