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>
<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>
相关文章推荐
- asp.net 中如何去除FCK编辑器生成的Html的标签
- asp.net如何将页面Table控件中的数据写到excel中总结
- vb.net写ASP.NET 第二个问题是如何设置table让他上下左右都居中呢??
- asp.net如何隐藏表格(table)的一行
- asp.net中chart中如何插入table实现混合显示
- 如何在Asp.net的Header中添加/title/Meta tages/CSS
- asp.net WebService如何去掉asmx后缀
- asp.net如何获取IP
- 如何用ASP.NET实现倒计时功能
- 通过3个Hello World应用来了解ASP.NET 5应用是如何运行的(2)
- ASP.NET/C#中如何调用动态链接库DLL
- asp.net如何在页面加载时响应回车事件
- Win8操作系统下IIS如何配置asp.net的运行环境
- 如何使用asp.net 1.1中的webcontrol中的TreeView
- 如何在ASP.NET Core中应用Entity Framework
- ASP.NET MVC 4 BundleTable的捆绑技术
- 【原创】构建高性能ASP.NET站点 第七章 如何解决内存的问题(前中篇)—托管资源优化—监测CLR性能
- ASP.NET AJAX - 如何制作RSS订阅器
- 开发ASP.NET 2.0 Web应用程序时如何将App_Code文件夹中的共享代码配置生成多个Dll
- ASP.NET 5升级后如何删除旧版本的DNX