Looking for some idea on how to create a CSS/Javascript Table that has fixed Vertical header. The need is to have two of the columns to be fixed.
I have created a sample, but this is using two separate tables. http://jsfiddle.net/X5cKj/
CSS for jsfiddle
table,th,td
{
border:1px solid black;
border-collapse:collapse;
table-layout:fixed;
}
td{
width: 75px;
padding: 0px 20px;
height: 30px;
}
#mainContainer{
width: 100%;
}
#leftContainer{
width: 228px;
display: inline-block;
}
#rightContainer{
width: 300px;
display: inline-block;
overflow: auto;
}
Thanks for looking.