我需要确保表格标题的高度是固定的,并根据标题单元格内容调整宽度。 (标题文本最多显示两行)我们如何使用样式来完成它?另外,我想确保表行的宽度与标题行的宽度相同(即标题行决定宽度)。固定高度和更改标题宽度(HTML表格)
注意:目前“交易部门所有者别名”排在前面。它需要分两行。
Transaction IDTransaction NameTransaction OwnerTransaction Department Owner Alias Name
1TR1LijoLijo2TR2LijoThis is a test value to test the result in real time scenario. Row width should be same as header widthCSS
#divForTransactionGrid
{
width: 300px;
height: 250px;
overflow:scroll;
}
2012-04-02
Lijo
+0
你能花点时间修复一下问题空间吗? –
2012-04-02 15:14:36