سؤال

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>
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top