[Javascript] overflow: auto

Hassan Schroeder hassan at webtuitive.com
Wed Apr 30 08:33:22 CDT 2003


Michael Dougherty wrote:

> 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?

Define "convenient" :-)  It's standard CSS, works great in Mozilla,
but of course IE doesn't support it.

Use THEAD and TBODY tags, set `overflow: auto` and `height: 300px`
(for example) on TBODY, and Bob's your uncle ...

HTH!
-- 
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.





More information about the Javascript mailing list