HTML / CSS中的Wrappable表头通过scrollingTable示例

时间:2014-12-23 22:00:16

标签: html css

我在看这个主题:How to display scroll bar onto a html table

doctorDesctructo的scrollingTable示例。

我正在尝试增强这个精彩的表示例,但是修改它以允许使用多行文本标题列?目前,该表尝试根据label =" text here"扩展每个列的宽度。属性。有没有办法允许换行,即使我必须手动指定标题的高度?

而不是看起来像单行表头:

text here

我想有两行文字:

text
here

我可以在CSS中扩展标题的高度,但文本不会换行。

0 个答案:

没有答案