- 1 2 3 4 5 6type="text/javascript"> 7 8body{font-size:12px;text-align:center}
- 9#tbStu{width:260px;border:solid 1px #666;background-color:#eee}
- 10#tbStu tr{line-height:23px}
- 11#tbStu tr th{background-color:#ccc;color:#fff}
- 1213 14$(function() {
- 15$("tr:not(:first)").each(function(i) {
- 16 this.style.fontSize = ['13px', '14px', '15px'][i]
- 17 this.style.backgroundColor = ['#eee', '#fff'][i % 2]
- 18 });
- 19 });
- 20212223
- 242526学号姓名性别总分2728291001张小明男3203031321002李明琪女3503334351003刘博古男4503637381004陈小琴女5303940414243
来源: http://www.bubuko.com/infodetail-1990765.html