Quoting the W3C Website
According to the absolute positioning model, a box is explicitly offset in relation to its containing block. This means it is completely removed from the normal flow (therefore not affecting later siblings).
I have noticed that when I position an element absolutely and it overflows beyond the view, a horizontal scrollbar appears. Why does this happen? Am I misunderstanding the specifications?
Is there any way to prevent this scrollbar from showing up without resorting to using overflow-x: hidden;
on the body element?