这是行头没有固定时的样子
这是固定行头时的样子
这是固定行头的cs代码
table tbody {
display:block;
height:500px;
overflow:scroll;
width:100%;
}
table thead,tbody tr{
width:100%;
display:table;
table-layout:fixed;
}
table thead {
width: calc( 100% - 1em )
}
这东西搞得真的难受