很简单的html table问题
<table cellSpacing= "2 " cellPadding= "2 " border= "2 " bordercolor= "red ">
<tr> <td colspan= "2 ">
hahaha
</td> <td> ssss </td>
</tr>
<tr>
<td> ha </td>
<td colspan= "2 "> haha1234567890 </td>
</tr>
</table>
就这么个表格,我想实现的是第二行的第一个单元格只是ha两个字的宽度,不知道怎么样弄,我现在怎么改都是第二行第一个单元格的宽度太宽,不是正好只是ha两个字的宽度
------解决方案-------------------- <table width= "165 " cellSpacing= "2 " cellPadding= "2 " border= "2 " bordercolor= "red ">
<tr>
<td colspan= "20% "> hahaha </td>
<td width= "80% "> ssss </td>
</tr>
<tr>
<td width= "10% "> ha </td>
<td colspan= "90% "> haha1234567890 </td>
</tr>
</table>