您的位置:首页 > 其它

table height=100% 不起作用

2009-12-17 12:33 363 查看
只需要在<td> 里加入 height=1 即可

[html]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>

<body>
<table width="390" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="182" bgcolor="#99CCCC"><p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p></td>
<td width="208" height="1" valign="top" bgcolor="#CCCC66"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFCCCC">
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
[/html]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: