0
有在我的表頭是不是與我的表中的數據正確對齊的問題,實現垂直滾動條,像這樣經過:問題與垂直滾動表頭
.tbody{
height: 250px;
overflow-y: auto;
overflow-x: hidden;
display: block;
}
.table{
width: 100%;
border-collapse: collapse;
display: table;
}
.table_header_row{
display: block;
}
Example of how the web page looks with skewed table headers
Example of how its supposed to look without the vertical scrollbar
無論如何,解決這樣的問題,最好只使用CSS?
你可以爲我們提供完整的代碼?那麼我們可以更好地幫助你 –