HTML & CSS
If I have an element that's absolutely positioned, which is a child of a relatively positioned element, what can I do in css (short of removing position:relative from the parent container and moving it outside of its positioned parent) to force the element to be absolutely positioned relative to the body element?
Move it out of it's parent to somewhere in the DOM where it doesn't have a positioned parent.
I guess I set myself up for that one
Can't change the markup. I'm looking for a pure CSS solution.
In that case you could remove the position from the parent. If that's not an option I'm afraid you're out of luck :injured:
This topic is now closed. New replies are no longer allowed.