Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>细表格原理</title>
<style type="text/css">
.tbl{}{ background-color:Red;}/**//*表格的背景色,即细表格的细线颜色*/
.tr_bg{}{background-color:#fff;}/**//*行背景色盖住表格背景色,只留下cellspacing*/
</style>
</head>
<body>
<table cellpadding="5" cellspacing="1" class="tbl"><!--cellspacing即线宽-->
<tr class="tr_bg">
<td>hi</td>
<td>hi</td>
</tr>
<tr class="tr_bg">
<td>hi</td>
<td>hi</td>
</tr>
</table>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>细表格原理</title>
<style type="text/css">
.tbl{}{ background-color:Red;}/**//*表格的背景色,即细表格的细线颜色*/
.tr_bg{}{background-color:#fff;}/**//*行背景色盖住表格背景色,只留下cellspacing*/
</style>
</head>
<body>
<table cellpadding="5" cellspacing="1" class="tbl"><!--cellspacing即线宽-->
<tr class="tr_bg">
<td>hi</td>
<td>hi</td>
</tr>
<tr class="tr_bg">
<td>hi</td>
<td>hi</td>
</tr>
</table>
</body>
</html>