greater z-index within lower z-index?
css
Solution
You can do this, but only if the parent doesn't have a `position: relative` or `absolute` property on it. So if you remove the `position: absolute` from the first div, it'll work as expected.
jsFiddle: http://jsfiddle.net/GEnHC/
Problem
I cannot seem to figure out a way to assign greater `z-index` priority to an element that has a parent with a lower `z-index` than an overlay element. Consider this example: ``` <div style="width: 100px; height: 100px; background: #F00; position: absolute; left: 0; top: 0; z-index: 1;"> <div style="width: 50px; height: 100px; background: #00F; position: absolute; left: 50px; top: 0; z-index: 3;"></div> </div> <div style="width: 100px; height: 50px; background: #0F0; position: absolute; left: 0; top: 50px; z-index: 2;"></div> ``` The result: The expected result: