CSS下拉菜单无法在IE中运行 [英] CSS dropdown menu not working in IE

查看:106
本文介绍了CSS下拉菜单无法在IE中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




有人可以帮我解决一下css问题吗?


我有一个网站是http:// www .matri.edu.my / site /


问题是来自下拉菜单不适用于IE。


问题访问http://www.matri.edu.my/site/node/2时也会出现


下拉菜单对任何浏览器都不起作用。

任何人都可以帮助我?

Hi,

Can anybody help me to solve about css problem ?

I got a website which is http://www.matri.edu.my/site/

The problem is from the drop down menu is not work with IE.

And the problem also appear while accessing http://www.matri.edu.my/site/node/2

The drop down menu dont work to any browser.

Anyone can help me ?

推荐答案

添加显示:阻止行:56#m3_topnav ul li a in your css。


菜单显示在IE 8中,但位置不正确。在IE 7中,菜单显示在主页上的图片后面。如果你将幻灯片滚动到2,你会在悬停时看到这个。


菜单不能正常工作 http://www.matri.edu.my/site/node/2 因为你还没有包含javascript控制你的下拉列表的页面。
Add display:block to Line:56 #m3_topnav ul li a in your css.

The menu is showing up in IE 8 just not positioned properly. In IE 7 the menu is showing up behind the picture on your homepage. If you scroll the slide to 2 you will see this when you hover.

The menu isn''t working on http://www.matri.edu.my/site/node/2 because you haven''t included the javascript on the page that controls your dropdown.


你好JKing,


感谢您的回复和帮助。


菜单现在工作得很好。


你能帮助我很好地表现菜单。


我添加显示后:阻止行:css文件中的56.


菜单外观不是很好。


希望可以听到你的好消息。
Hi JKing,

Thanks for your reply and helps.

The menu its now working perfectly.

Can you help me on how to represent the menu nicely.

After i add display:block to Line:56 inside the css file.

The menu appearance is not really nice.

Hope can hear good news from you.


尝试删除margin-right:1px;来自#m3_topnav ul li a


并将#m3_topnav li的填充更改为填充:7px 15px 9px;
Try removing margin-right:1px; from #m3_topnav ul li a

And change the padding on #m3_topnav li a span to padding: 7px 15px 9px;


这篇关于CSS下拉菜单无法在IE中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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