日期:2014-05-17 浏览次数:20678 次
?给table设置细边框:
.table_border{ border: solid 1px #B4B4B4; border-collapse: collapse; --折叠样式. } .table_border tr th{ background:url("../../images/gray/bg_table_th.gif") repeat; padding-left:4px; height:27px; border: solid 1px #B4B4B4; } .table_border tr td{ height:25px; padding:4px; border: solid 1px #B4B4B4; }
?
?
HTML:
<table class="table_border" width="100%" border="0" id="high_light" lang="tabRowData" cellpadding="0" cellspacing="0"> <tr> <td><td> </tr> </tabl>
?
?
?
还可以使用行内样式,使表格边框变细;
style="width: 100%; border-collapse: collapse;" cellspacing="0"
?