純css解決1px寬儲存格線問題!

來源:互聯網
上載者:User
源碼如下:
=========================
<style type="text/css">
<!--
.data_table {
color: #FF6600;
border-collapse: collapse;
border:3px solid red;
background:#eee;
}
.data_table td {
border:1px solid #000000;
}
-->
</style>
<table class="data_table" width="100" height="100">
<tr>
<td>1</td>
<td>2</td>
</tr>
<tr>
<td>3</td>
<td>4</td>
</tr>
<tr>
<td>5</td>
<td>6</td>
</tr>
</table>
=======================
相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.