讨厌的IE6< ul> < li>楼梯虫 [英] Nasty IE6 <ul> <li> stair bug

查看:148
本文介绍了讨厌的IE6< ul> < li>楼梯虫的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在该页面中,子菜单如果在Firefox中正常,但像往常一样,讨厌的浏览器是不同的解释。

In that page, the submenu if fine in firefox, but as usual, the nasty explorer is interpreting that differently....

如何解决css错误在IE6

how do you troubleshoot css bug in IE6

这里的css是什么?

这是第

对不起,我找到了完美的解决方案...

Sorry to ask, I have found the PERFECT SOLUTION...

这里是链接

这里是文字:

Here is the remedy:

ul#menu li {
    display: inline; /* Prevents "stepdown" */
}


推荐答案

我想你要浮动< li> 元素,而不是它们内的链接

I think you want to float the <li> elements instead of the links within them

< li> s

同时删除float:left;从< ul>

Also remove the float: left; from the <ul>

这篇关于讨厌的IE6&lt; ul&gt; &lt; li&gt;楼梯虫的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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