- From: Brendan Devers <bdevers@salmon.ltd.uk>
- Date: Tue, 15 Feb 2000 11:37:16 -0500 (EST)
- To: <www-html@w3.org>
I am trying to create a table that has a scrollable body - but without using
frames. My understanding was that I could do this using THEAD/TBODY and a
style sheet. I have included my test source that does not work - can anybody
tell me where I am going wrong?
Included html:
<html>
<head>
<style type="text/css">
.a1 {position: absolute;
top: 200px;
bottom: 250px;
left: 50px;
right: 250px;}
.a2 {overflow: scrolling;}
</style>
</head>
<body>
<table class="a1" border=1>
<thead>
<tr>
<th>Column 1</th>
<th>Column 2</th>
</tr>
</thead>
<tbody class="a2">
<tr>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
</tr>
</tbody>
</table>
</body>
</html>
Thanks in advance ....
Paul
Received on Tuesday, 15 February 2000 11:41:54 UTC