html table td 边框效果
2013-10-10 13:58
411 查看
html table td边框效果
2012-06-13 15:46:44| 分类: java笔记 | 标签:td效果 |字号 订阅<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>table边框测试</title>
</head>
<body>
<div style="width:100%;height:100%;">
<table border="1" bordercolor="#FF9966" >
<tr>
<td width="102" style="border-right-style:none">隐藏右边框</td>
<td width="119" style="border-left-style:none">隐藏左边框</td>
</tr>
<tr>
<td style="border-top-style:none">隐藏上边框</td>
<td style="border-bottom-style:none">隐藏下边框</td>
</tr>
</table>
<table>
<tr>
<td style="border-right:#cccccc solid 1px;">显示右边框</td>
<td style="border-left:#cccccc solid 1px;">显示左边框</td>
<td style="border-top:#cccccc solid 1px;">显示上边框</td>
<td style="border-bottom:#cccccc solid 1px;">显示下边框</td>
</tr>
</table>
<table>
<tr>
<td style="border-right : thin dashed blue;">右边框显示细虚线</td>
<td style="border-bottom: thick dashed yellow;">下边框显示粗虚线</td>
<td style="border-top: double green;">上边框显示两条线</td>
<td style="border-left: dotted red;">左边框显示点</td>
</tr>
</table>
</div>
</body>
</html>
效果如下:
相关文章推荐
- Html Table Td 边框属性设置(任意显示需要的边框效果)
- html table td隐藏边框
- [HTML][CSS]table中加边框的样式(所有td都加薄边框)
- HTML table的td内容过长时,自动隐藏效果
- CSS如何设置html table表格边框样式 CSS如何设置table表格边框样式 对table设置css样式边框,分为几种情况: 1、只对table设置边框 2、对td设置边框 3、对table和
- html基础 table标记 设置边框线粗细 td标签 相邻列/行的单元格合并
- QT Qwebview显示html 的table表格时,如果有td跨行td边框显示不出来的bug
- html基础 table标记 设置边框线粗细 td标签 相邻列/行的单元格合并
- <html>table、tr/td、thead、tbody、tfoot、col、colgroup
- html<table><th><tr><td><caption><thead><tbody><tfoot>属性总结
- 借助JavaScript中的Dom属性改变Html中Table边框的颜色
- html的table中不换行显示的效果
- CSS如何设置html table表格边框样式
- html table 上下左右边框
- html 中table边框设置成Excel那样的边框
- html table设置边框线
- 关于html中table表格tr,td的高度和宽度
- HTML TABLE 细边框样式 用HTML作为模板,JAVA导出PDF兼容table样式
- HTML】Table边框使用总结 ,只显示你要显示的边框(内边框,外边框)
- 当Table中td内容为空时,显示边框的办法