<table border="0" cellpadding="0" cellspacing="0" style="height: 100%; width: 100%">
<tr>
<td align="center" valign="middle">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
</td>
</tr>
</table>
</td>
</tr>
</table>
空一个高度为20的行
<tr>
<td style="height: 20">
</td>
</tr>
单单一个table
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
</td>
</tr>
</table>
<asp:Table ID="Table1" runat="server" BorderWidth="0" CellPadding="0" CellSpacing="0"
Height="1" Width="100%">
<asp:TableRow>
<asp:TableCell BackColor="#1FC851" Height="1"></asp:TableCell>
</asp:TableRow>
</asp:Table>
<body style="height:100%">
<form id="form1" runat="server">
<div>
<table border="0" cellpadding="0" cellspacing="0" style="height: 100%" width="100%">
<tr>
<td align="center" valign="middle">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</form>
</body>
HTML——Table
最新推荐文章于 2023-09-19 08:17:02 发布