tbrehm
2007-03-17 cf71a4677eff547c9cedeb1871fc109ae181b0c2
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/*
Copyright (c) 2007, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.2.0
*/
/*debug css
.example span, .example .yui-dt-columntext {border:1px solid red;}*/
 
/*foundational css*/
td {
    overflow:hidden;
}
 
.yui-dt-headcontainer {
    position:relative;
    
}
 
.yui-dt-headtext {
    position:relative;
    border-right:10px;
}
 
.yui-dt-headresizer {
    position:absolute;
    margin-right:-6px;
    right:0;
    bottom:0;
    width:6px;
    height:100%;
    cursor:w-resize;
    cursor:col-resize;
}
 
.yui-dt-firstlink,.yui-dt-prevlink,.yui-dt-nextlink,.yui-dt-lastlink,.yui-dt-pagelink {
    cursor:hand;
    cursor:pointer;
    text-decoration:underline;
}
 
.yui-dt-scrollable  {
   width:20em;
   margin-bottom:3em;
}
 
 
.yui-dt-scrollable  thead {
   background:#696969; /*  IE needs a bgcolor to hide tbody as it scrolls */
   border:1px solid #000;
   display:block; /* enables tbody scrolling for safari and opera */
}
 
.yui-dt-scrollable  thead th {
   width:10em; /* any value seems to here, just need something */
}
 
tbody.yui-dt-scrollable {
   display:block; /* enables tbody scrolling for safari and opera */
   height:10em;
   overflow:auto; /* for scrolling other than IE */
}
 
/* IE specific */
.yui-dt-scrollable  {
   height:10em;
   *overflow-y:auto;
}
 
.yui-dt-scrollable  tbody {
   *height:auto; /* override the non IE height */
}
 
.yui-dt-scrollable thead tr {
   position:relative;  /* IE cant scroll tbody, so trick it into fixing thead */
}
 
.yui-dt-scrollable tbody td {
    width:10em;
}