Fast question; if you have 2 divs, one absolutley positioned and one relative, it isnt doing the z-index, i have attached a jsfiddle.
If i make them both relative they go with the flow of the DOM and one goes above the other on the y axis rather than z, any ideas?
Example JSfiddle (thanks Onheiron for fixing the render in jsfiddle)
Screenshot of whats happening: https://i.stack.imgur.com/NmILA.png , the gray thing should be behind the image.
Thanks.
You can’t make a child appear behind it’s parent! You can only do that with siblings.
See your updated fiddle