- From: Grant, John <john.grant@sage.com>
- Date: Tue, 15 Feb 2000 09:26:45 -0800
- To: "'bdevers@salmon.ltd.uk'" <bdevers@salmon.ltd.uk>, www-html@w3.org
I think the scroll will only work on a div. -John -----Original Message----- From: Brendan Devers [mailto:bdevers@salmon.ltd.uk] Sent: Tuesday, February 15, 2000 8:37 AM To: www-html@w3.org Subject: Scrolling tables without frames 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 12:29:07 UTC