Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Table with fixed header, scrolling body?

3 views
Skip to first unread message

Jeff Wishnie

unread,
Nov 26, 2002, 6:41:21 PM11/26/02
to
I would like to create a table with a fixed header row and a scrolling
body.

The following works correctly in Mozilla, but has a very bizarre
interpretation in IE6 (standards compliant mode)--anyone know how to
achieve something equivalent in IE6?

Mozilla code--this causes Mozilla to display the header row followed by the
body rows in a 100px box with a scrollbar on the right (below the header)

<table>
<thead>
<tr><td>Column</td></tr>
</thead>
<tbody style="overflow: scroll; height: 100px">
<tr><td>some data</td></tr>
<tr><td>some data</td></tr>
<tr><td>some data</td></tr>
<tr><td>some data</td></tr>
<!-- etc... -->
</tbody>
</table>


Thanks,

jeff

Ron Hinds

unread,
Mar 5, 2003, 3:18:51 PM3/5/03
to
"Jeff Wishnie" <jeff> wrote in message
news:Xns92D2A00812F2B...@207.46.230.185...

Try using TH as the cell tag in THEAD.


Joseph

unread,
Mar 5, 2003, 6:47:22 PM3/5/03
to
I've got the exact same issue,
I could've do it with 2 taBLES but in my application the web page hides and
show certain columns, and the column width sometimes is varaiable.
We couldn't acomplish to fully synchronized the data column widths with the
header widths, so ... my only hope is to place both header and data in the
same table with the datasource

PLEASE IF SOMEONE HAS DONE THAT ALREADY, help me out please...

"Jeff Wishnie" <jeff> wrote in message
news:Xns92D2A00812F2B...@207.46.230.185...

0 new messages