请检查下面的代码实现这一点(使用完全相同你已经在你的问题中给出的标记)。
th, td {
\t white-space: nowrap; border:1px solid #ccc; padding:5px 0;
}
.first-col {
position: absolute;
\t width: 5.6em;
\t margin-left: -5.7em; background:#ffffff;
}
.table-wrapper {
overflow-x: scroll;
\t width: 430px;
\t margin: 0 0 0 5.3em;
}
<div class="container">
<div class="table-wrapper">
<table class="table table-bordered table-striped table-hover" cellpadding="0" cellspacing="0">
<thead>
<tr>
<th class="first-col"> </th>
<th>Table heading1</th>
<th>Table heading</th>
<th>Table heading</th>
<th>Table heading</th>
<th>Table heading</th>
\t \t \t \t \t <th>Table heading</th>
<th>Table heading</th>
<th>Table heading</th>
<th>Table heading</th>
<th>Table heading</th>
\t \t \t \t \t <th>Table heading</th>
\t \t \t \t \t <th>Table heading</th>
</tr>
</thead>
<tbody>
<tr>
<td class="first-col">Employee1</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
\t \t \t \t \t <td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
</tr>
<tr>
<td class="first-col">Employee2</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
\t \t \t \t \t <td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
</tr>
</tbody>
</table>
</div>
</div>
难道这要你想要的吗?
请看看这个链接: [你的问题在这里回答](http://stackoverflow.com/questions/1312236/how-do-i-create-an-html-table-with-fixed-frozen -left-column-and-scrollable-body) –