What you are asking for will require some custom coding, using a
combination of a CSS-based approach (use a thead, and a tbody with a
fixed height and overflow set to scroll) which will work for the good
browsers out there.

Unfortunately IE (both IE6 and IE7) does not support such a technique.
You have a few options for IE, this one could work somewhat good...

Position the thead absolutely, put a div wrapper around the table and
give this wrapper the same properties as described above (fixed
height, overflow set to scroll). You will also have to undo the fixed
height on the tbody, because IE balks pretty bad at this.

I suggest making use of conditional comments to feed IE special CSS files.

Getting the absolutely positioned thead to align perfectly with the
table contents can prove tricky, you may wish to utilize CSS to
position it properly, but for the most part this would be a 100% CSS
solution.

-justin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to