table border problem
2010-08-06 12:38
127 查看
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link type="text/css" href="css/left.css" rel="stylesheet" />
<link type="text/css" href="css/home.css" rel="stylesheet" />
<style>
.t_a{background:#00FFFF
; font-size:12px; width:100%;}
.t_a th{background:#f7f7f7; padding:6px;}
.t_a td{background:#fff; padding:6px;}
.tac{text-align:center;}
#header{color:#FF3300;}
</style>
</head>
<body>
<div id="header">
<h1>john</h1>
</div>
<div id="options">
<table class="t_a" border="0" cellSpacing="1" cellPadding="0">
<thead>
<tr>
<th width="20%
">john</th>
<th width="20%
">john</th>
<th width="60%
">john</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tac">john</td>
<td class="tac">john</td>
<td>john</td>
</tr>
<tr>
<td class="tac">john</td>
<td class="tac">john</td>
<td>john</td>
</tr>
<tr>
<td class="tac">john</td>
<td class="tac">john</td>
<td>john</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link type="text/css" href="css/left.css" rel="stylesheet" />
<link type="text/css" href="css/home.css" rel="stylesheet" />
<style>
.t_a{background:#00FFFF
; font-size:12px; width:100%;}
.t_a th{background:#f7f7f7; padding:6px;}
.t_a td{background:#fff; padding:6px;}
.tac{text-align:center;}
#header{color:#FF3300;}
</style>
</head>
<body>
<div id="header">
<h1>john</h1>
</div>
<div id="options">
<table class="t_a" border="0" cellSpacing="1" cellPadding="0">
<thead>
<tr>
<th width="20%
">john</th>
<th width="20%
">john</th>
<th width="60%
">john</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tac">john</td>
<td class="tac">john</td>
<td>john</td>
</tr>
<tr>
<td class="tac">john</td>
<td class="tac">john</td>
<td>john</td>
</tr>
<tr>
<td class="tac">john</td>
<td class="tac">john</td>
<td>john</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
相关文章推荐
- table中元素的border不显示问题
- Oracle table problem
- Table 单元格重叠变粗 使用border-collapse:collapse; 可以解决
- table中cellpadding="0" cellspacing="0" border="0"属性CSS的定义方法
- Problem of " Invalid (old?) table or database name"
- CSS属性 table 的 border-collapse 边框合并
- 用table做网页,设置了border为1px怎么还是觉得很粗?
- 如何设置table的border-radius?
- 表扩展失败(ORA-01653)后的空间管理问题【THE SPACE MANAGEMENT PROBLEM OF THE TABLE EXTEND FAILD 】 推荐
- 在一个div里放一个table,如果不设置border="0" cellpadding="0" cellspacing="0",当table 的高和宽与div相等时,会超出div
- Problem--266A--Codeforces--Stones on the Table
- Handle table中CAS操作与A-B-A Problem解析
- table border 和css border的区别
- Handle table中CAS操作与A-B-A Problem解析
- Codeforces Round #144 (Div. 1), problem: (B) Table DP 组合数学
- 模仿table的border
- table的属性border-collapse 设置边框是否合并
- table中设置border-collapse属性
- 一个属性border-collapse解决Table的边框问题
- 浅谈css样式(border、background、table)