1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
| @charset "UTF-8";
| /*表格头部固定部分*/
| body, div, table {
| margin:0;
| padding:0;
| border:0;
| }
| #tblHead{
| width:100%;
| height:32px;
| position:relative;
| overflow:hidden;
| }
| #tblHead table{
| position:absolute;
| width:100%;
| border-collapse:collapse;
| }
| #tblHead table thead th{
| border:1px solid #ccc;
| padding:6px 10px;
| text-align: center;
| white-space: nowrap;
| background:url(../image/table_th_bg.gif) repeat-x;
| }
| #tblHead table tbody td{
| border:1px solid #ccc;
| padding:6px 10px;
| text-align: center;
| white-space: nowrap;
| }
| /*表格滚动部分*/
| #tblBody{
| width:100%;
| height:300px;
| position:relative;
| overflow:scroll;
| }
| #tblBody table{
| position:absolute;
| width:100%;
| border-collapse:collapse;
| top:-30px;
| }
| #tblBody table thead th{
| border:1px solid #ccc;
| padding:6px 10px;
| text-align: center;
| white-space: nowrap;
| background:url(../image/table_th_bg.gif) repeat-x;
| }
| #tblBody table tbody td{
| border:1px solid #ccc;
| padding:6px 10px;
| text-align: center;
| white-space: nowrap;
| }
|
| .tbl-tr-bg {
| background-color: #DBDCDE;
| }
|
|