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
Using Javascript/jQuery you could potentially get the elements jQuery.offset() to the DOM and compare it the jQuery.position() to calculate where it should appear on the page.