在Firefox下,加上float:left后背景没有了,IE正常~
<div class="ilnews">
<dl>
<dt class="tools_title"></dt>
<dd>
<ul class="tools_ul">
<li>船东查询</li>
<li>集装箱参数</li>
</ul>
</dd>
</dl>
</div>
ilnews加的背景,样式如下:
.ilnews{
width:275px;
background:url(../image/index_06.gif);
background-repeat:repeat-y;
}
.ilnews .tools_ul li{
float:left;
width:40%;
padding-left:15px;
background:url(../image/index_09.gif);
background-repeat:no-repeat;
background-position:0px 4px;
}
li样式中一加上float:left;ilnews中背景就没了,怎么弄呢?