0

I have a website with a superfish menu and I have two different plugins for slideshows, nivo slider in the main page: http://hermandaddelcalvario.org/wordpress/ and photospace in the gallery page: http://hermandaddelcalvario.org/wordpress/imagenes-3/

The problem comes with IE7, the dropdown falls behind the images on both pages. I searched a lot and everyone suggests that I do this:

/*gallery container*/
#content{
position:relative;
z-index: 1;
}

/*superfish container*/
#navwrap{
position:relative;
z-index: 2;
}

I did so but to no avail, is there something else I missed?

4

2 回答 2

1

由于创建堆叠顺序的方式,IE 6 和 7 中都会出现此问题。更多细节可以在这里找到:http: //brenelz.com/blog/squish-the-internet-explorer-z-index-bug/

简而言之 - 在您的条件 IE 样式表中,您将需要为您的菜单父级提供比幻灯片更高值的 z-index。

于 2011-09-28T10:53:16.363 回答
0

好的,这有点蹩脚,在我提出问题 3 秒后,我在这里找到了答案:IE7 中的 Jquery Superfish 问题

现在使用该脚本可以正常工作,但我仍然想知道这里的 css 有什么问题,在此之前我会寻求 css 解决方案,但我想说明这可以解决问题。

于 2011-09-28T10:10:28.713 回答