gpt4 book ai didi

css - 讨厌的 IE6
  • 阶梯错误

转载 作者:行者123 更新时间:2023-11-28 15:01:59 25 4
gpt4 key购买 nike

在该页面中,如果子菜单在 Firefox 中正常,但像往常一样,讨厌的资源管理器正在以不同的方式解释......

如何解决 IE6 中的 css 错误

那里的 css 芽是什么?

here is the page


抱歉提问,我已经找到了完美的解决方案...

here is the link

这里是正文:

Here is the remedy:

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

最佳答案

我想你想 float <li>元素而不是其中的链接

只需移动 float: left;从链接到 <li>

同时移除 float: left;来自 <ul>

关于css - 讨厌的 IE6 <ul> <li> 阶梯错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1707981/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com