What is the difference between position: relative and position: absolute in CSS? And when should you use them?
position: relative
position: absolute
Marco Pellicciotta: The position of the element inside another element can be relative or absolute, about the element it's inside.
If you need to position the element in the browser window point of view it's best to use position:fixed