Li在IE6/7中带有浮动。它消失了?
尝试在 IE 6/7 中测试此代码:
<html>
<head>
<title>Title</title>
</head>
<body>
<ul>
<li style="float:left">huisashaiuhs iuhuiahsiuhsaiu</li>
</ul>
</body>
</html>
LI 的圆圈在哪里?我已经在 UL 和 LI 中完成了所有类型的解决方法。什么都没有,什么都行不通。
你有什么想法吗? (顺便说一句,已经尝试过 hasLayout、padding-left、margin-left、display:inline 等)
Try test this code in IE 6/7:
<html>
<head>
<title>Title</title>
</head>
<body>
<ul>
<li style="float:left">huisashaiuhs iuhuiahsiuhsaiu</li>
</ul>
</body>
</html>
Where is the circle of LI? I already do ALL types of workaround, in UL and LI. Nothing, NOTHING works.
Do you have any idea? (BTW already tried hasLayout,padding-left,margin-left,display:inline, etc etc etc)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看此论坛文章:http:// www.highdots.com/forums/alt-html/float-li-bullets-ie7-277086.html
或者,我建议将
放在 < code>
中删除浮动样式。
例如
Check this forum article out: http://www.highdots.com/forums/alt-html/float-li-bullets-ie7-277086.html
Or else, I'd suggest putting the
<ul>
in a<div>
that is floated left, and remove the float style from the<li>
.e.g.
尝试添加文档类型以将页面踢入标准模式?
Try adding a doctype to kick the page into standards mode?