Firefox 中 superfish 子菜单被内容修剪的问题
您好,我遇到了一个问题,似乎涉及某种 z-index 问题,但要进行更改,除了 IE 除外。
如果您查看 http://cougar.motivo.com.au/ 以外的任何内容将 Internet Explorer 并将鼠标悬停在最后一个菜单项“联系我们”上,您可以看到我所指的内容。基本上,超级子菜单似乎被其下方元素的宽度修剪。
您可以通过源看到我尝试设置 z-indexes &位置:相对,但此时我被难住了。我们将不胜感激地收到任何和所有的意见:)
PS 我知道 IE6 中仍然存在一些问题。我还没有荣幸地解决这些问题(呻吟)。
Greetings, I have a problem which would seem to involve some kind of z-index issue, but for a change it's in everything except IE.
If you take a look at http://cougar.motivo.com.au/ in anything except Internet Explorer and hover over the last menu item "Contact Us" you can see what I'm referring to. Basically the supersub menu appears to be being trimmed by the width of the element below it.
You can see via the source that I've tried setting z-indexes & position:relative, but at this point I'm stumped. Any and all input would be gratefully received :)
P.S. I am aware that there are still a couple of issues in IE6. I am yet to have the pleasure of addressing those (groans).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为这是因为“联系我们”菜单是页面的一部分,因此在页面之外时会被修剪。如果你把它放得更高,或者使用position:absolute,然后放置应该可以解决问题。
我猜如果你的,比如说div,在另一个里面,就会发生这种情况。将 div 分解并将其向上移动通常可以修复它。
I think it's because the contact us menu is part of the page and as such is being trimmed when outside of it. if you put it higher, or use position: absolute and then place that should fix the issue.
can happen i guess if your, let's say div, is inside another. breaking the div out and moving it higher up will normally fix it.