1

I have Google'd this problem, and I seem to see every variant except for what I need. I need an HTML table with fixed ROW headers. Is there a way to do this with only HTML and CSS? If not, what is the best JQuery plugin for this?

I feel like I'm asking something that someone else has HAD to have done. But everything I look at seems to be something else entirely.

Thank you!

JavaScript Developer
  • 3,968
  • 11
  • 41
  • 46

2 Answers2

0

Have you tried:

table { table-layout:fixed; width:100px; }
mb.
  • 21
  • 1
  • My hope was to create a table whose width would grow based on the number of columns I added to it. However, in the event that the width of the table grew too large, I wanted to be able to scroll left-and-right, but I want the row headers to stay in place. – JavaScript Developer Apr 12 '12 at 15:35
  • 1
    I see, probably better to look for a javascript solution than a CSS one. Sorry, haven't see any that does that. – mb. Apr 12 '12 at 16:55
-1

Adding the following CSS style should help:

table tr
{
    height:100px;
}
SurinderBhomra
  • 2,169
  • 2
  • 24
  • 49