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
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