修复了HTML表格中带有CSS的行标题(Fixed Row Headers with CSS in an HTML Table)

我有谷歌这个问题,我似乎看到除了我需要的每个变种。 我需要一个带有固定ROW标头的HTML表。 有没有办法只用HTML和CSS做到这一点? 如果没有,那么最好的JQuery插件是什么?

我觉得我在问别人有没有做过的事情。 但我所看到的一切似乎完全不同。

谢谢!

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!

最满意答案

添加以下CSS样式应该有所帮助:

table tr { height:100px; }

Adding the following CSS style should help:

table tr { height:100px; }修复了HTML表格中带有CSS的行标题(Fixed Row Headers with CSS in an HTML Table)

我有谷歌这个问题,我似乎看到除了我需要的每个变种。 我需要一个带有固定ROW标头的HTML表。 有没有办法只用HTML和CSS做到这一点? 如果没有,那么最好的JQuery插件是什么?

我觉得我在问别人有没有做过的事情。 但我所看到的一切似乎完全不同。

谢谢!

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!

最满意答案

添加以下CSS样式应该有所帮助:

table tr { height:100px; }

Adding the following CSS style should help:

table tr { height:100px; }