本文介绍了超级菜单躲在桌子后面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果您查看以下网站的首页(仅限IE7):

If you look at the homepage of the following site (in IE7 only):

超级鱼类下拉菜单会在表格后面消失。我已经尝试玩z-index无效。

the superfish dropdown disappears behind the table. I have tried playing with the z-index to no avail.

任何人都可以尝试任何建议吗?

Can anyone make any suggestions what to try?

谢谢

推荐答案

我自己修复了。通过向.main-navig类添加以下两行:

I fixed it myself. By adding the following 2 lines to the .main-navig class:

/* Added to fix z-index bug */
z-index: 1000;
position: relative;

基本上是< div> 下拉菜单需要具有比它下面的div更高的z-index。哇!以为会更难。

basically the <div> containing the dropdown menu needs to have a higher z-index than the divs below it. Whew ! Thought that was going to be harder.

位置:相对是关键。

这篇关于超级菜单躲在桌子后面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-12 14:18