HTML表格显示问题,求救
<table border="0" cellspacing="1" width="92%" class="small" bgcolor="#000000" cellpadding="3">
<tr class="TableHeader">
<td width=3% rowspan="3" align="center" nowrap class="small1">序号</td>
<td width=5% rowspan="3" align="center" nowrap class="small1">时间</td>
<td width=3% rowspan="3" align="center" nowrap class="small1">班级</td>
<td width=6% rowspan="3" align="center" nowrap class="small1">学生人数</td>
<td colspan="5" align="center" nowrap class="small1">现有党员数</td>
<td colspan="5" rowspan="2" align="center" nowrap class="small1">年度发展计划数</td>
<td width=12% rowspan="3" align="center" nowrap class="small1">备注</td>
<td width=11% rowspan="3" align="center" nowrap class="small1">党总支负责人</td>
<td width=11% rowspan="3" align="center" nowrap class="small1">党总干事</td>
</tr>
<tr class="TableHeader">
<td colspan="2" align="center" nowrap class="small1">正式</td>
<td colspan="2" align="center" nowrap class="small1">预备</td>
<td width="6%" rowspan="2" align="center" nowrap class="small1">小计</td>
</tr>
<tr class="TableHeader">
<td width="4%" align="center" nowrap class="small1">男</td>
<td width="4%" align="center" nowrap class="small1">女</td>
<td width="4%" align="center" nowrap class="small1">男</td>
<td width="4%" align="center" nowrap class="small1">女</td>
<td width="5%" align="center" nowrap class="small1">一季度</td>
<td width="5%" align="center" nowrap class="small1">二季度</td>
<td width="4%" align="center" nowrap class="small1">三季度</td>
<td width="6%" align="center" nowrap class="small1">四季度</td>
<td width="7%" align="center" nowrap class="small1">小计</td>
</tr>
这段代码怎么在下面显示一行行的数据?
总共有17列,我显示的时候总是会出现黑色的地方,是不是换行没有控制好啊?大家帮忙一下
------解决方案--------------------HTML code
<tr>
<td>01</td>
<td>02</td>
<td>03</td>
<td>04</td>
<td>05</td>
<td>06</td>
<td>07</td>
<td>08</td>
<td>09</td>
<td>10</td>
<td>11</td>
<td>12</td>
<td>13</td>
<td>14</td>
<td>15</td>
<td>16</td>
<td>17</td>
</tr>
------解决方案--------------------
每行17个单元格。
------解决方案--------------------
晕。。。问题没看清楚。
你想问的是CSS?
CSS code
table {
border-collapse:collapse;
}
td {
border:1px solid #000;
}