Sent by David Seguin on 8 July 2004 19:07
I don't know what your browser requirements are, but here's a
nonstandard ie 5+ trick:
This is your markup:
<div id="scrollresults">
<table class="resultstable" cellspacing="0">
<thead>
<tr>
<td width="35%">Heading here</td>
<td width="65%">Heading here</td>
</tr>
</thead>
<tbody>
....
(rest of table)
....
</tbody>
</table>
</div>
and this goes in the style sheet:
..resultstable thead td {
background: #FFF;
border-bottom: 1px solid #9F9F9F;
border-top: 3px solid #9F9F9F;
color: #000;
font-weight: bold;
position: relative;
text-align: left;
top:
expression(document.getElementById("scrollresults").scrollTop-2);
}
#scrollresults {
height: 60%;
overflow: auto;
}
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/