Why is my CSS drop-down menu opening behind a DIV in IE7?

后端 未结 2 1199
小鲜肉
小鲜肉 2021-01-21 23:18

This issue has been stumping me.

This only happens in IE7. I saw some similar subjects, and tried the solutions, but couldn\'t get them to work.

Any ideas?

2条回答
  •  余生分开走
    2021-01-22 00:22

    Try this:

    #nav_main ul
    {
      overflow: auto;
    }
    
    #nav_main ul li
    {
      z-index: 10;
    }
    

    Another problem could be that the Flash video is doing it, but since I don't use Flash, I can't help much.

提交回复
热议问题