[Javascript] overflow: auto

Walter Torres walter at torres.ws
Tue Apr 29 22:59:13 CDT 2003


The only way I've been able to "mimic" this behaviour was to create 2
seperate tables. One for the HEADER and another, inside an overflow region,
containing the data.

Walter

> -----Original Message-----
> From: javascript-bounces at LaTech.edu
> [mailto:javascript-bounces at LaTech.edu]On Behalf Of Michael Dougherty
> Sent: Thursday, April 24, 2003 1:57 PM
> To: javascript at LaTech.edu
> Subject: [Javascript] overflow: auto
>
>
> <span style='width: 200; height: 300; overflow: auto;'>
>   <table>
>     <tr>
>       <th>Name</th>
>       <th>Value</th>
>     </tr>
>     <tr>
>       <td>Row1</td>
>       <td>Val1</td>
>     </tr>
>     (many more rows)
>   </table>
> </span>
>
> Is there a convenient way to lock the table header so that it
> doesn't scroll
> off the visible area of it's container span?
>
> I would like to not have to define the widths of the columns and have a
> fixed table with one row for the header outside the span...
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript



More information about the Javascript mailing list