Internet Explorer 6 PNG 修复 +仅 CSS(IE6 除外)下拉菜单
希望在这里得到一些帮助。
目前我正在开发一个网站,使用透明 PNG 作为背景等。当然,这在 Internet Explorer 6 中不起作用,因此正在使用 PNG 修复。此外,还有一个由 2 个列表组成的下拉菜单,在 li:hover 上会下拉。为此,Internet Explorer 6 使用了一些 Javascript 修复程序。
现在出现的问题是下拉菜单隐藏在内容容器后面,这是在网站中添加 PNG 修复程序后发生的。现在,例如 PNG 修复使用 z-index,我尝试删除它来解决问题(但没有解决问题),此外我尝试了其他一些没有导致任何结果的事情。在谷歌上搜索它也没有产生任何可用的结果。
也许这里有人可以提供帮助,可以在这里找到使用它的网站:bernadettamaas.trumpetcms.nl(请不要链接它)。第二个菜单项下拉。
到目前为止谢谢
斯特凡
Hoping to get some help here.
Currently I'm developing a website using transparent PNGs for backgrounds and so. Of course this isn't working in Internet Explorer 6, so a PNG fix is being used. Also, there is a drop-down menu consisting of 2 lists, which on li:hover drops-down. For this there is a little Javascript fix used by Internet Explorer 6.
The problem occurring now is that the drop-down menu hides behind the content container, this happened after adding the PNG fix in the website. Now for example the PNG fix uses z-index, which I tried to remove to fix the problem (which didn't solve it), besides that I tried some other things which didn't lead to anything. Searching for it on Google didn't yield any useable results either.
Maybe somebody here can help, the website using it can be found here: bernadettamaas.trumpetcms.nl (please do NOT link it). The second menu item drops-down.
Thanks so far
Stefan
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了类似的问题,几乎只是向每个元素添加
position:relative;
和z-index
,直到菜单显示在只有 IE6 需要的其他元素之上就像它在其他所有浏览器中一样工作。div 的位置是否相同?否则,
z-index
值将无法正确应用。I had a similar issue and pretty much just went through adding
position: relative;
andz-index
's to each element till the menu showed above other elements which only IE6 needed as it worked in every other browser.Are the divs posiitoned the same? Otherwise the
z-index
values won't apply correctly.