최대 내용 높이가 200px 이상이되도록 스크롤 크기를 조정하려면 부트 스트랩 테이블을 가져와야합니다.Cant 부트 스트랩 테이블 가져 오기
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 :
나는 테이블에 대한 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>
. 나는 누군가가 도울 수 있는지 궁금해하고 있었다.
Please see the JSBin example here
감사합니다.
에게 있습니다. 이것은 강력한 솔루션이 아닙니다 –