Timothy Ruhle Timothy Ruhle - 5 months ago 16
HTML Question

force "position: absolute" to be relative to document not parent container

I am trying to insert a div into any part of the body and make its "position: absolute" relative to the whole document and not a parent element which has a "position: relative".

Answer

You will have to place the div outside of the position:relative element and into body.