Nasty IE6 <ul> <li> stair bug

走远了吗. 提交于 2019-12-14 03:05:52

问题


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

how do you troubleshoot css bug in IE6

what is the css bud there ?

here is the page


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

here is the link

here is the text :

Here is the remedy:

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

回答1:


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

just move the float: left; from the links to the <li>s

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



来源:https://stackoverflow.com/questions/1707981/nasty-ie6-ul-li-stair-bug

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!