由于某些原因,我的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