嵌套菜单在IE 8& 9 [英] Nested menu keeps dissapearing on IE 8 & 9

查看:77
本文介绍了嵌套菜单在IE 8& 9的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用这个菜单作为我自己的模板:

http://ago.tanfa.co.uk/css/examples/menu/hs7.html



我使用了与这个菜单相同的技巧,我只是改变了css的颜色/字体大小等。现在我遇到的问题是,当我从链接的例子中悬停根项目,如'CSS下拉菜单'。

如果我没有真正快速跳到菜单,那么子菜单消失了,它使我疯狂。有没有人有类似的问题?

解决方案

通常这种行为是因为顶部保证金绝对相对上定位(如 top:2px $ c>元素)在子菜单上创建主菜单项和子菜单之间的间隙。没有您的实际代码发布,这是我能给的唯一建议。


I used this menu as a template for my own :

http://ago.tanfa.co.uk/css/examples/menu/hs7.html

I used the same technique as this menu I just changed the css like colors/fonts size etc. Now the issue I have is that when I hover root items like 'CSS Drop Down Menus' in the example from the link.

The sub menu dissapears if I don't jump to the menu really quickly, and its driving me nuts. Did anyone have similar issues?

解决方案

Usually this behavior is because of top margin or positioning (like top: 2px on an absolute or relative element) on the submenus that is creating a "gap" between the main menu item and the submenu. Without your actual code posted, that is the only advice I can give.

这篇关于嵌套菜单在IE 8& 9的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆