梦行表格thead 固定,tbody 滚动CSS代码
1CSS
		.table_scroll table{ table-layout: fixed;width: 100%;text-align: left;}
		.table_scroll thead tr td{  }
		.table_scroll tbody{ display: inline-block;width: 100%;overflow-y: auto;overflow-x: hidden;max-height:300px;}
		
		.table_scroll table tr{
			display: inline-block;width: 100%;
			display: block;
		}
		.table_scroll table td, .table_scroll table th {
			display: inline-block;width: 10%; line-height: 1.2rem!important; white-space:nowrap;overflow:hidden;text-overflow:ellipsis; 
		}
		.table_scroll table td:nth-child(1), .table_scroll table th:nth-child(1) {
			
		}  
	 		
本页由《梦行文档》生成

 

name完成
30