UL not displaying in IE8 Compatability Mode
-
26-10-2019 - |
题
I have a basic unordered 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.
解决方案 2
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.
其他提示
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>
不隶属于 StackOverflow