zoukankan
html css js c++ java
css实现细表格原理
Code
<!
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
>
<
title
>
细表格原理
</
title
>
<
style
type
="text/css"
>
.tbl
{
}
{
background-color
:
Red
;
}
/**/
/*
表格的背景色,即细表格的细线颜色
*/
.tr_bg
{
}
{
background-color
:
#fff
;
}
/**/
/*
行背景色盖住表格背景色,只留下cellspacing
*/
</
style
>
</
head
>
<
body
>
<
table
cellpadding
="5"
cellspacing
="1"
class
="tbl"
>
<!--
cellspacing即线宽
-->
<
tr
class
="tr_bg"
>
<
td
>
hi
</
td
>
<
td
>
hi
</
td
>
</
tr
>
<
tr
class
="tr_bg"
>
<
td
>
hi
</
td
>
<
td
>
hi
</
td
>
</
tr
>
</
table
>
</
body
>
</
html
>
天祺围棋:
www.tianqiweiqi.com
呵呵
凡事以大气象去面对,优秀是一种习惯。
查看全文
相关阅读:
linux 内核配置
使用 git 下载linux 源码
订阅 linux 邮件列表注意的问题
使用反射创建一维数组和二维数组
反射API
反射机制
集合案例--对ArrayList容器中的内容进行排序
Collections
TreeSet
Set容器
原文地址:https://www.cnblogs.com/greatverve/p/1440666.html
最新文章
MySql 查询一周内记录
saltstack源码安装
salt.states.file试用
LVS-TUNNEL 隧道模式
LVS-NAT
LVS-DR
集群
drbd -- 数据同步
glusterfs --云存储
raid
热门文章
LVM 逻辑卷管理
IP-SAN-iscsi
优化-网络
关于 printk() 对 spi slave 内核驱动程序的性能影响
linux 编译 freescale arm 的gdb server
linux 内核头文件及内核库文件
emacs 术语图解
linux 内核开发 与 linux 应用开发的不同处
linux 内核的多任务编译
linux 内核编译只输出 warning 及 error
Copyright © 2011-2022 走看看