I don't know what it is called when referencing CSS but in Excel, you can freeze panes (e.g. the header row) so that when you scroll down, you can still see the column headings of the data you are looking at. On my web page, I have a grid-like data. Is there something I can use to keep that data put OR do I just have to make two separate tables and work on getting the alignment of the first and 2nd table to line up?
I'm open to jQuery plugin or plan old js solutions, too.
I've added some code to assist:
<table border="1" class="usertablex" width="100%">
<thead>
<tr>
<th>Name</th>
<th>City</th>
</tr>
</thead>
<tbody style="height:20px;overflow:scroll;">
<tr class="subtext">
<td class="Dwidth175">John Silva</td>
<td class="Dwidth80" align="center" > New York</td>
</tr>
<tr class="subtext">
<td class="Dwidth175">John Thomas</td>
<td class="Dwidth80" align="center" > New York</td>
</tr>
<tr class="subtext">
<td class="Dwidth175">Xris</td>
<td class="Dwidth80" align="center" > New York</td>
</tr>
<tr class="subtext">
<td class="Dwidth175">Bob Denver</td>
<td class="Dwidth80" align="center" > New York</td>
</tr>
</tbody>
</table>