<table class="productBrowserTableControllerType" id="productBrowserTableControllerType" border="1">
<tr>
<td>Standard Solenoid</td>
<td>"Classic" Solenoid</td>
<td>Manual Lever</td>
<td>Palm Button</td>
<td>Foot Pedal/Treadle</td>
</tr>
<tr>
<td>Cam Roller</td>
<td>Piston</td>
<td>Remote Pilot</td>
<td>Differential Pilot</td>
</tr>
</table>
答案 0 :(得分:1)
将第二行包装在另一个表中,并将整个事物放入一个{4}的colspan为5的<td>
......
<tr>
<td>Standard Solenoid</td>
<td>"Classic" Solenoid</td>
<td>Manual Lever</td>
<td>Palm Button</td>
<td>Foot Pedal/Treadle</td>
</tr>
<tr>
<td colspan = "5" align="center">
<table><tr>
<td>Cam Roller</td>
<td>Piston</td>
<td>Remote Pilot</td>
<td>Differential Pilot</td>
</tr>
</table>
</td>
</tr>
答案 1 :(得分:0)
这会将第二行移动到中心,它在左侧和右侧具有相等的间距。见fiddle
<table class="productBrowserTableControllerType" id="productBrowserTableControllerType" border="1">
<tr>
<td colspan="2">Standard Solenoid</td>
<td colspan="2">"Classic" Solenoid</td>
<td colspan="2">Manual Lever</td>
<td colspan="2">Palm Button</td>
<td colspan="2">Foot Pedal/Treadle</td>
</tr>
<tr>
<td></td>
<td colspan="2">Cam Roller</td>
<td colspan="2">Piston</td>
<td colspan="2">Remote Pilot</td>
<td colspan="2">Differential Pilot</td>
<td></td>
</tr>
</table>