打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
利用CSS生成精美细线Table表格无需复杂style代码
/*表格样式。*/ 
.table { 
width:100%; 
padding: 0px; 
margin: 0px; 
font-family:Arial, Tahoma, Verdana, Sans-Serif,宋体; 
border-left:1px solid #ADD8E6; 
border-collapse:collapse; 

/*表头样式。*/ 
.table th { 
font-size:12px; 
font-weight:600; 
color: #303030; 
border-right: 1px solid #ADD8E6; 
border-bottom: 1px solid #ADD8E6; 
border-top: 1px solid #ADD8E6; 
letter-spacing: 2px; 
text-align: left; 
padding: 10px 0px 10px 0px; 
background: url(../images/tablehdbg.png); 
white-space:nowrap; 
text-align:center; 
overflow: hidden; 

/*单元格样式。*/ 
.table td { 
border-right: 1px solid #ADD8E6; 
border-bottom: 1px solid #ADD8E6; 
background: #fff; 
font-size:12px; 
padding: 3px 3px 3px 6px; 
color: #303030; 
word-break:break-all; 
word-wrap:break-word; 
white-space:normal; 

/*蓝色单元格样式,主要用于隔行变色。*/ 
.table td.color{ 
background:#edf7f9; 

/*表格中超级链接样式。*/ 
.table td a:link{ 
font-weight:400 ; 
color:#2259D7 ; 
text-decoration:none ; 
word-break:break-all; 
word-wrap:break-word; 
white-space:normal; 

.table td a:visited { 
font-weight:400 ; 
color:#2259D7 ; 
text-decoration:none ; 
word-break:break-all; 
word-wrap:break-word; 
white-space:normal; 

.table td a:hover { 
font-weight:400 ; 
text-decoration:underline ; 
color: #303030; 
word-break:break-all; 
word-wrap:break-word; 
white-space:normal; 

.table td a:active { 
font-weight:400 ; 
text-decoration:none ; 
color:#2259D7 ; 
word-break:break-all; 
word-wrap:break-word; 
white-space:normal; 
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
四个好看的CSS样式表格
Python邮件发送之HTML表格快速建立
立体感表格制作
什么是幸福?最美的回答…
家用消毒药有哪些?消毒药推荐清单
乌铁国旅疆内旅游线路集锦
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服