table中table边框问题
求高手去掉里面表格的外边框,效果图,如下
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
</head>
<style type="text/css">
table, tr, td
{
border: 1px solid black;
}
table
{
border-collapse: collapse;
}
</style>
<body>
<form id="form1" runat="server">
<div>
<table style="width: 300px; height: 200px">
<tr style="width: 300px; height: 200px ">
<td >
<table style="width: 300px; height: 200px; border:0px">
<tr>
<td style="border-left:0px;border-top:0px">
11
</td>
<td style="border-right:0px;border-top:0px">
12
</td>
</tr>
<tr>
<td style="border-left:0px;border-bottom:0px">21
</td>
<td style="border-right:0px;border-bottom:0px">22
</td>
</tr>
</table>
</td>
<td>
test
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
[解决办法]
可以使用一个7行6列的Table,设置合并的单元格
[解决办法]
帮顶![解决办法]
,接分[解决办法]
不用TABEL好多年。DIV+CSS多爽。楼主试下呗。反正试下又不会怀孕
[解决办法]
border: false
[解决办法]
<table borer="0">
[解决办法]
table
{
border-collapse: collapse;
}
里面的table设置borer=0
[解决办法]
又出现什么问题了?不是好的吗?合并行了?仔细检查啊
[解决办法]
我刚刚做了一个小Demo,看看对你有什么帮助没。就是用Repeater做的,楼主可以去看看http://www.cnblogs.com/dreamseek/p/3382554.html