表格边框的显示与隐藏,是可以用frame参数来控制的。请注意它只控制表格的边框图,而不影晌单元格。
只显示上边框 <table frame=above>
只显示下边框 <table frame=below>
只显示左、右边框 <table frame=vsides>
只显示上、下边框 <table frame=hsides>
只显示左边框 <table frame=lhs>
只显示右边框 <table frame=rhs>
不显示任何边框 <table frame=void>
边框或者内边框设置为虚线
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
table{
border:#999 1px dashed;
}
table tr td{
border-bottom:#999 1px dashed;
}
</style>
</head>
<body>
<table width="50%" cellpadding="0" bordercolorlight="#999999"
bordercolordark="#FFFFFF" cellspacing="0" line-height="0px";>
<tr>
<td>起床呼叫号码</td>
</tr>
<tr>
<td style="border-bottom:none;">起床呼叫号码</td>
</tr>
</table>
</body>
</html>