您的位置:首页 > 编程语言 > ASP

ASP.NET 中如何去除table间的间隙

2009-07-08 14:35 148 查看
折叠边框

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题 1</title>
<style type="text/css">
.style1 {
border-collapse: collapse;
background-color: #800000;
}
.style2 {
border-collapse: collapse;
background-color: #008080;
}
</style>
</head>
<body>
<table style="width: 100%" cellspacing="0" cellpadding="0" class="style1">
<tr>
<td> </td>
</tr>
</table>
<table style="width: 100%" cellspacing="0" cellpadding="0" class="style2">
<tr>
<td> </td>
</tr>
</table>
</body>
</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: