I have a problem where my z-indexes just won't kick in and I don't really get why.
I am not able to reposition the elements in the DOM, I need a purely CSS-based solution without any greater hacks
I have the following navigation:
I packed it in a fiddle with the CSS to demonstrate my problem
my target is to get the **blue box** (Sub-Navigation) **under the green box** (Top level Navigation) in the exact same manner as demonstrated in the fiddle
Is there any way to fix my z-indexes or can someone point me to the mistake?
Thanks for your help your blue box is under our green box, exactly as you describe. maybe a browser difference?
以上就是Z-index doesn't work in Sub Navigation的详细内容，更多请关注web前端其它相关文章！