<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<meta charset="utf-8" />
<style type="text/css">
* {
margin: 0;
padding: 0;
}
table {
width: 100%;
text-align: center;
border-collapse: collapse;
border-spacing: 0;
}
table td {
word-break: break-all;
word-wrap: break-word;
}
.container {
width: 600px;
height: 500px;
padding: 0;
box-sizing: border-box;
}
#left-div {
width: 80px;
float: left;
}
#left-div1 {
width: 100%;
JS+CSS - table 表格固定表头和第一列、内容可滚动 (转载)
最新推荐文章于 2024-05-11 01:32:20 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)