Li with float in IE6/7. It disappears?
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 alrea开发者_Go百科dy tried hasLayout,padding-left,margin-left,display:inline, etc etc etc)
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.
<div style="float: left;">
<ul>
<li>huisashaiuhs iuhuiahsiuhsaiu</li>
</ul>
</div>
Try adding a doctype to kick the page into standards mode?
精彩评论