日期:2014-05-17 浏览次数:20799 次
<table class="right_table" border="1" cellpadding="1" cellspacing="0">
CSS代码:[code=CSS].right_table {
width:700px;
border-bottom:5px solid #999;
border-left:3px solid #ccc;
border-top:3px solid #ccc;
border-right:5px solid #999;
}
<!DOCTYPE HTML>
<html>
<head>
<meta charset="gb2312" />
<title></title>
<style>
table {
border-collapse:collapse;
}
td {
border:1px solid red;
}
</style>
</head>
<body>
<table>
<tr>
<td>1-1--1</td>
<td>1-1--1</td>
</tr>
<tr>
<td>1-1--1</td>
<td></td>
</tr>
</table>
</body>
</html>
------解决方案--------------------
td必须要有个站位  也行啊 你不输东西边框不出来的
你拿工具生成的表格td里不也是个空格吗?
你在怎么修改样式也没用 td里必须要有东西 这是规定!!铁的!!