开发者

UL not displaying in IE8 Compatability Mode

I have a basic uno开发者_如何学Gordered list that isn't displaying in IE8 compatibility mode, but when compatibility mode is turned off it displays correctly.

I discovered the problem. It turned out to be that it doesn't like the background:none property on a list item.


I have tried the following code in IE8(compatible mode turned off) It works !!

<html>
<body>
<ul type="disc">
<li>hii</li>
<li>bye</li>
<li>hello</li>
</ul>
</body>
</html>


This turns out to be a problem with background:none on a list item. I was doing custom bullets by setting the background image, and on the first item i was just setting it to background none, but this caused the whole list to disappear.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜