runxinzhi.com
首页
百度搜索
Jqtable最后一行添加样式
<!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> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <style> .tab{border-collapse:collapse;border:1px solid #9BDF70;} .tab td{border-bottom:1px solid #92B0DD;text-align:center;} .tab th{border-bottom:2px solid #92B0DD;} .tab th.end{border-bottom:2px solid #9BDF70;border-top:2px solid #9BDF70;} .tab tr{height:25px;} </style> <script> $(function(){ $('#tab tr:last').find('th').addClass('end'); }); </script> </head> <body> <table id="tab" class="tab" width=500> <tr> <th>姓名</th> <th>QQ</th> <th>E-mail</th> </tr> <tr> <td>豪情</td> <td>249056406</td> <td>jikeytang@gmail.com</td> </tr> <tr> <td>tony</td> <td>1234567</td> <td>puag@gmail.com</td> </tr> <tr> <td>tony</td> <td>1234567</td> <td>puag@gmail.com</td> </tr> <tr> <td>tony</td> <td>1234567</td> <td>puag@gmail.com</td> </tr> <tr> <td>tony</td> <td>1234567</td> <td>puag@gmail.com</td> </tr> <tr> <th>豪情啊</th> <th>不得了</th> <th>真是的</th> </tr> </table> </body> </html>
运行代码
相关阅读:
POJ1034 The dog task
POJ1033 Defragment
POJ1032 Parliament
POJ1031 Fence
POJ1030 Rating
POJ1029 False coin
伪元素的使用
伪元素选择器:before 以及 :after
jquery html() 和text()的用法
用CSS绘制三角形
原文地址:https://www.cnblogs.com/jikey/p/1737949.html
最新文章
BZOJ4415: [Shoi2013]发牌
BZOJ2818: Gcd
BZOJ4129: Haruna’s Breakfast
BZOJ3052: [wc2013]糖果公园
BZOJ4419: [Shoi2013]发微博
BZOJ3489: A simple rmq problem
poj1860(spfa判正环)
poj3268(最短路)
poj1797(最短路小变形)
poj2387(最短路)
热门文章
poj2253(最短路小变形)
hdu3001(状压dp)
poj2411(状压dp)
zoj3471(状压dp)
poj3311(状压dp)
poj1185(状压dp)
POJ1038 Bugs Integrated, Inc.
POJ1037 A decorative fence
POJ1036 Gangsters
POJ1035 Spell checker
Copyright © 2020-2023
润新知