84669 人が学習中
152542 人が学習中
20005 人が学習中
5487 人が学習中
7821 人が学習中
359900 人が学習中
3350 人が学習中
180660 人が学習中
48569 人が学習中
18603 人が学習中
40936 人が学習中
1549 人が学習中
1183 人が学習中
32909 人が学習中
table 数据是动态添加,要让他出现竖向滚动条,滚动时thead不滚动怎么做?
<p style="width:500px; height:200px; overflow:scroll;">
</p>
学习是最好的投资!
table { position: relative; overflow-y: scroll; } thead { width: 100%; position: absolute; left: 0; top: 0; }
tbody { display: block; height: 200px; overflow:scroll; }
表头用position:fixed来固定
No way. 拆吧
3楼和4楼加在一起是正解
表头用position:fixed来固定
No way. 拆吧
3楼和4楼加在一起是正解