Superfish drop down menu, how to fix z-index in ie6 and ie7?

我怕爱的太早我们不能终老 提交于 2019-12-06 16:13:17

I don't have IE6 handy right now so I can test for you.

You could try adding "position:relative" to the elements you are applying z-index to.

Using superfish with IE you should use the bgiframe plugin. From the superfish FAQ:

Does the Superfish plugin work with any other plugins?

Yes – here are a few useful plugins that you may wish to add to your menu:

...

4. BgIframe. Another plugin you may need is Brandon Aaron’s bgIframe plugin. This will solve the Internet Explorer bug described in the ‘bgIframe’ example on this site. 90% of people will not need this (yes I made up that statistic).

icc97

Thanks to Emily on this other Stack overflow question for pointing me in the right direction.

  • IETester is a useful tool for checking against various IE versions
  • The superfish FAQ linked blog post fixed the problem for IE8.
  • For IE6/7 (probably combined with the fix for IE8 above), I found with my version of suckerfish that I had to put the z-index on .sf-menu li
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!