This is an example of how to make static headers with the Display Tag Library in both Internet Explorer and Mozilla.
Mozilla
In Mozilla, it's easy. Just add the following to your stylesheet:
tbody {width: 100%; height: 200px}
To do this on the table below (with JavaScript), click here. Click here to view the JavaScript.
Internet Explorer
Now for the hard part - doing it in IE (it actually works in Mozilla too). This example uses JavaScript to
close the first table that contains the header, add a <div> and then
start a new table. The major problem with this approach is getting the width of the top (header)
cells to match up with the bottom (data) cells.
To do this on the table below (with JavaScript), click here. Click here
to view the JavaScript.
WARNING: I put no logic in to detect if you've clicked on IE or Mozilla - and to reset between clicks. Refresh the page to try again.