最大サイズが200pxになるようにブートストラップテーブルを取得しようとしています。それ以上のものはスクロールします。Cantはサイズを変更するためにブートストラップテーブルを取得
私はに設定されたテーブルのCSSがありますテーブルはまだページの高さと幅であるしかし
<table class="table table-striped jSpeeds table-fixed">
<thead>
<tr><th>Time</th><th>Speed</th></tr>
</thead>
<tbody>
<tr><td>TestRow</td><td>TestVal</td></tr>
</tbody>
</table>
:
table.jSpeeds tr:hover, table.jSpeeds tr td:hover{
cursor:pointer;
}
table.table-fixed thead {
width: 97%;
}
table.table-fixed tbody {
height: 230px;
overflow-y: auto;
width: 100%;
}
& HTMLを。誰かが助けることができるかどうか疑問に思っていた。
Please see the JSBin example here
ありがとう。
です。これはロバストな解決策ではありません –