虚心请教!!如何让表格中其中一列的行高按内容的多少自动调整??
如何让表格中其中一列的行高按内容的多少自动调整?
比如说以下表格中,我想让第一,二,四,五行行高固定,而让第三行行高随内容多少自动调整行高,该如何实现?请高手指点!!!
<table width= "225 " border= "0 " cellSpacing=0 cellPadding=0>
<tr>
<td colspan= "3 " background= "beijin/beijin7_r1_c1.gif " width= "225 " height= "20 "> </td>
</tr>
<tr>
<td colspan= "3 " height= "20 "> </td>
</tr>
<tr>
<td height= "40 "> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height= "30 "> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td background= "beijin/beijin8_r1_c1.gif " width= "20 " height= "19 "> </td>
<td width= "185 "> </td>
<td background= "beijin/beijin8_r1_c3.gif " width= "20 " height= "19 "> </td>
</tr>
</table>
请指点,谢谢!
------解决方案--------------------让它自动调整,你就不要设置height就可以了