Scrollable resizable table with fixed header
I am looking for a HTML table where the header is fixed. I've found some solutions on the net and on Stack Overflow but none of seems to fit my needs.
What I want is something like this: http://www.imaputz.com/cssStuff/bigFourVersion.h开发者_C百科tml but when you resize the browser window the table should show a horizontal scrollbar. In the example mentioned above only the browser shows a vertical scrollbar and this is not what I want. If I can adjust the above example or you have something I can use (jQuery is not really an option) then please let me know.
you can use css
ex:
This would add a horizontal and vertical scroll
table {
overflow: scroll;
}
or you can use
overflow-x or overflow-y if you only want one of them.
精彩评论