для дальнейшего поиска решения для создания таблицы с заблокированным заголовком столбца:
Вот CSS для основного PortfolioList div , затем заголовок :
<style type="text/css">
div.PortfolioList
{ /* bkgrnd color is set in Site.css, overflow makes it scrollable */
height:500px; width:680px; position: static; overflow-y:auto; float:left;
}
div.PortfolioList_hdr
{ /* this div used as a fixed column header above the porfolio table, so we set bkgrnd color here */
background-color:#7ac0da; height:45px; width:680px; position: static; float:left;
}
</style>
Теперь вот таблицы в двух упомянутых выше разделах:
<div class="PortfolioList_hdr">
<table id="pftable_hdr">
<caption>Portfolio Definitions</caption>
<thead>
<tr>
<th>Pf Id</th><th>Name</th><th>Exp Type</th><th>Date</th><th>Term</th><th>Exposure</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div class="PortfolioList">
<table id="pftable">
<tbody>
</tbody>
</table>
</div>
Я использовал jQuery, чтобы добавить и и заполнить содержимое соответствующим образом.* Надеюсь, это поможет ...