使用CSS改变表格边框样式
来源:互联网 发布:require.js兼容ie8吗 编辑:程序博客网 时间:2024/04/28 08:32
用CSS改变表格边框样式,很实用的一种方法。
制作方法:
将下面的代码复制到<body>~</body>里,此为隐藏下边框
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-bottom-width: 0" bordercolor="#111111" width="90">
<tr align="center">
<td style="border-bottom-style: none; border-bottom-width: medium" height="25">隐藏下边</td>
</tr>
</table>
将下面的代码复制到<body>~</body>里,此为隐藏上边框
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-top-width: 0" bordercolor="#111111" width="90">
<tr align="center">
<td height="25" style="border-top-style: none; border-top-width: medium">隐藏上边框</td>
</tr>
</table>
将下面的代码复制到<body>~</body>里,此为隐藏左边框
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-left-width: 0" bordercolor="#111111" width="90">
<tr align="center">
<td style="border-left-style: none; border-left-width: medium" height="25">隐藏左边框
</td>
</tr>
</table>
将下面的代码复制到<body>~</body>里,此为隐藏右边框
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-right-width: 0" bordercolor="#111111" width="90">
<tr align="center">
<td style="border-right-style: none; border-right-width: medium" height="25">隐藏右边框
</td>
</tr>
</table>
- 使用CSS改变表格边框样式
- 使用css改变表格边框样式
- 使用CSS改变表格边框样式
- 使用CSS处理表格边框样式化
- 用CSS改变(隐藏)表格边框样式
- 使用CSS处理表格边框样式化(转帖)
- 使用CSS border-collapse样式 合并表格边框
- 表格细边框的CSS样式
- CSS样式——边框、背景、表格
- 用css样式,为表格加入边框
- 用css样式,为表格加入边框
- CSS设置html table表格边框样式
- 表格细边框的CSS样式什么设置?
- CSS如何设置html table表格边框样式
- CSS如何设置html table表格边框样式
- CSS如何设置html table表格边框样式
- 第19课:用css样式,为表格加入边框
- 在css中改变table边框的样式
- 回锅肉的做法
- 尝试着写博客
- 排骨炖辫子鱼的做法
- 找不到类型或命名空间名称DataBinder是否缺少 using 指令或程序集引用?)
- 一块网卡设置多个IP
- 使用CSS改变表格边框样式
- 使用Javascript制作行间颜色间隔
- 旋转矩阵算法
- JavaMail学习笔记
- Tomcat 下的定时任务
- 一个realplay直接播放ftp上电影的插件
- 手机电子杂志:手机媒体广告新的承载平台
- js中cloneNode()的使用
- 教你如何用VC.net来编译NVIDIA的CG源代码