用html编写嵌套的表格
发布网友
发布时间:2022-04-25 22:10
我来回答
共2个回答
热心网友
时间:2022-04-19 09:30
<table width="370" border="1" cellspacing="1" cellpadding="1">
<tr>
<td colspan="2" align="center" valign="middle"> </td>
<td width="70" align="center" valign="middle">姓名</td>
<td width="40" align="center" valign="middle">年龄</td>
<td colspan="2" align="center" valign="middle"> </td>
</tr>
<tr>
<td width="30" rowspan="3" align="center" valign="middle"> </td>
<td width="50" align="center" valign="middle"> </td>
<td width="70" align="center" valign="middle"> </td>
<td width="30" align="center" valign="middle"> </td>
<td colspan="2" rowspan="8" align="center" valign="top"> </td>
</tr>
<tr>
<td width="50" align="center" valign="middle"> </td>
<td width="70" align="center" valign="middle"> </td>
<td width="30" align="center" valign="middle"> </td>
</tr>
<tr>
<td width="50" align="center" valign="middle"> </td>
<td width="70" align="center" valign="middle"> </td>
<td width="30" align="center" valign="middle"> </td>
</tr>
<tr>
<td width="30" rowspan="2" align="center" valign="middle"> </td>
<td width="50" align="center" valign="middle"> </td>
<td width="70" align="center" valign="middle"> </td>
<td width="30" align="center" valign="middle"> </td>
</tr>
<tr>
<td width="50" align="center" valign="middle"> </td>
<td width="70" align="center" valign="middle"> </td>
<td width="30" align="center" valign="middle"> </td>
</tr>
<tr>
<td colspan="2" align="center" valign="middle"> </td>
<td width="70" align="center" valign="middle"> </td>
<td width="30" align="center" valign="middle"> </td>
</tr>
<tr>
<td width="30" rowspan="2" align="center" valign="middle"> </td>
<td width="50" align="center" valign="middle"> </td>
<td width="70" align="center" valign="middle"> </td>
<td width="30" align="center" valign="middle"> </td>
</tr>
<tr>
<td width="50" align="center" valign="middle"> </td>
<td width="70" align="center" valign="middle"> </td>
<td width="30" align="center" valign="middle"> </td>
</tr>
</table>
用下DREAMWAVER软件,裏面填写下内容就好了
热心网友
时间:2022-04-19 10:48
要用到表格的一个属性 设置一个表格横向穿过多少列的! 我当时写jsp 页面写过
记不太清楚了!
挺好做的! 如果不会做 直接用dreamwaver
直接画就是了