[size=medium]<BR><BR><BR><BR>
[color=red]//这是表格:[/color]
<form name="searchuser" method="POST" action="http://localhost:4444/news/index.php/productsmanage/delProducts">
<center>
<table width="80%" border="1" align="center" bordercolor="#C0C0C0" class="table_form">
<tr height=25 bgcolor="#E8E8E8">
<th width="20%" align="center"><strong>编号</strong></th>
<th width="20%" align="center"><strong>产品名称</strong></th>
<th width="20%" align="center"><strong>所属分类</strong></th>
<th width="20%" align="center"><strong>图片</strong></th>
<th width="20%" align="center">
<input type='checkbox' name=chkall οnclick='CheckAll(this.form)'><strong>全选</strong>
<input type='submit' value='删除'>
</th>
</tr>
</table>
</center>
</form>
<style>
[color=red]/*语法:border-collapse : separate | collapse
取值:
separate : 默认值。边框独立(标准HTML)
collapse : 相邻边被合并*/ [/color]
.table_form {border-collapse: collapse}
.table_form td, .table_form th { line-height:150%; padding:4px;font-size:12px; font-family:"宋体";}
.table_form th strong { color:#077ac7;}
</style>[/size]
[color=red]//这是表格:[/color]
<form name="searchuser" method="POST" action="http://localhost:4444/news/index.php/productsmanage/delProducts">
<center>
<table width="80%" border="1" align="center" bordercolor="#C0C0C0" class="table_form">
<tr height=25 bgcolor="#E8E8E8">
<th width="20%" align="center"><strong>编号</strong></th>
<th width="20%" align="center"><strong>产品名称</strong></th>
<th width="20%" align="center"><strong>所属分类</strong></th>
<th width="20%" align="center"><strong>图片</strong></th>
<th width="20%" align="center">
<input type='checkbox' name=chkall οnclick='CheckAll(this.form)'><strong>全选</strong>
<input type='submit' value='删除'>
</th>
</tr>
</table>
</center>
</form>
<style>
[color=red]/*语法:border-collapse : separate | collapse
取值:
separate : 默认值。边框独立(标准HTML)
collapse : 相邻边被合并*/ [/color]
.table_form {border-collapse: collapse}
.table_form td, .table_form th { line-height:150%; padding:4px;font-size:12px; font-family:"宋体";}
.table_form th strong { color:#077ac7;}
</style>[/size]