Let there be 3 divs.
<div id="div1"><div id="div2"></div></div>
<div id="div3" />
If div2 has a higher z-index than div3 but div1 has a lower z-index than div3, then div2 will be shown below div3.
Is there any way to have div2 be above div3 without changing the z-index of div1 or making div2 a sibling of div1/div3?