日期:2014-05-17  浏览次数:20472 次

css兼容问题
就是显示表格的每个单元格为实线,在IE,360中正常,但在火狐和谷歌怎么显示不出实线呢?
.list{
  border-left: 1px solid #1F92ED;
  border-right: 1px solid #1F92ED;
border-top: 1px solid #1F92ED;
  border-bottom: 1px solid #1F92ED;
}


------解决方案--------------------
你是html怎么写的? border=0?
------解决方案--------------------
<style type="text/css">

.list, .list td {
border:1px #1F92ED solid;
border-collapse:collapse;
}
</style>

<table width="200" border="0" cellspacing="0" cellpadding="0" class="list">
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>