由於某些原因,我的LI元素未在Internet Explorer中左側浮動,它們分別顯示在下方。任何人都知道我該如何解決這個問題?Internet Explorer 8中的LI元素
#books ul{
list-style:none;
margin:0px;
float:left;
display:inline;
}
#books ul li{
float:left;
margin-right: 20px;
padding-bottom: 20px;
height:300px;
display:inline;
}
你能提供html和css嗎?它在其他瀏覽器等工作? – 2009-11-29 06:33:36
我在問題中添加了css。是的,它在Firefox中工作正常。 – ryudice 2009-11-29 06:42:18
您使用兼容性視圖嗎? – 2009-11-29 06:47:17