Timothy Ruhle Timothy Ruhle - 1 year ago 58
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 Source

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