Click to See Complete Forum and Search --> : How can I make the 'Head' of table fixed?


geqy
12-09-2002, 10:14 AM
Hi, all,

After the page retrieved the data from Database and displayed in the page, it is possible, the head of the table can be fixed and the body of the table can be scrolling by scrollbar.
ex:

<table>
<thead>
<tr>
<td>name</td>
<td>address</td>
<td>email</td>
</tr>
<thead>
<tbody>
<tr>
<td><%=rs1("name")%></td>
<td><%=rs1("address")%></td>
<td><%=rs1("email")%></td>
</tr>
<tbody>
</table>

When the record more than 20, the scroll bar will appear, the body parts can be scrolled down,but the head parts of the table will always there!!


Many thanks

smurfy
12-10-2002, 02:32 AM
Dave, I was about to post the same thing but then though - how do you get the scrolling effect on the results rows?
Surely this will need to be some sort of form unless we use a (arggghhh) frame?