RE: FN-FORUM: [CSS] Freezing thead
date posted 20th August 2003 19:57
Anthony Johnston:
> Does any one know if there is a way to freeze the thead
> element of a table, so that it is always visible even if
> the user scrolls off screen.
>
> This is for IE6 only (controlled enviroment).
Since you're using IE6, 'position: fixed' in CSS won't work - IE doesn't
support it.
If you *really* want to do this, the only way I can think of doing this is
to position the absolutely, and use javascript to adjust its top
dynamically (there's scripts that do that with menu DIVs all over the net -
same sort of idea). Ugly, and obviously won't work if you've got scripting
disabled.
Just repeat the header rows every so often?
- Nick Grimshaw
{ if you're not part of the solution, you're part of the precipitate. }