我的代码如下,总之结果那个单元格不是一个px宽:
<TD width="170">
<table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
<tr>
<td width="16"><IMG height="20" src="image/newsoft_top_left.jpg" width="16"></td>
<td align="center" background="image/newsoft_top_mid.jpg" width="138">--登陆管理--</td>
<td width="16"><IMG height="20" src="image/newsoft_top_right.jpg" width="16"></td>
</tr>
<tr width="170">
<td width="1" bgcolor="#949694"></td>
<td vAlign="middle"><usc:log id="log1" runat="server"></usc:log></td>
<td width="1" bgcolor="#949694"></td>
</tr>
<tr>
<td colspan="3" bgcolor="#949694" height="1"></td>
</tr>
</table>
</TD>
我搞了一天拉,还是没有搞好,请帮帮忙吧!!
<TD width="170">
<table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
<tr>
<td width="16"><IMG height="20" src="image/newsoft_top_left.jpg" width="16"></td>
<td align="center" background="image/newsoft_top_mid.jpg" width="138">--登陆管理--</td>
<td width="16"><IMG height="20" src="image/newsoft_top_right.jpg" width="16"></td>
</tr>
<tr width="170">
<td width="1" bgcolor="#949694"></td>
<td vAlign="middle"><usc:log id="log1" runat="server"></usc:log></td>
<td width="1" bgcolor="#949694"></td>
</tr>
<tr>
<td colspan="3" bgcolor="#949694" height="1"></td>
</tr>
</table>
</TD>
我搞了一天拉,还是没有搞好,请帮帮忙吧!!
有什么用啊。如果单元格里面的数据大于单元格大小,那么单元格的大小=数据大小。