/*表头冻结*/ .listFix table tbody{ display:block; /*height:195px;*/ overflow-y:scroll; } .listFix table thead, .listFix tbody tr{ display:table; width:100%; table-layout:fixed; } .listFix table thead{ width: calc( 100% - 1em ) }
其他表头冻结: http://www.ablanxue.com/prone_15098_1.html