gpt4 book ai didi

html - 在每页打印上显示表头

转载 作者:行者123 更新时间:2023-11-28 06:10:16 24 4
gpt4 key购买 nike

我有我的表头内容,我想在溢出的表体数据的每一页上打印这些内容。我尝试了 thead display: table-header-group 但它似乎没有帮助。关于如何使其在 IE10 或 chrome 中工作的任何建议?。

HTML。

<table>
<thead>
<div>
My print content
</div>
</thead>
<tbody>
<tr> Test <tr>
<tr> Test <tr>
...
</tbody>
</table>

最佳答案

使用 <tr><td>My print content</td></tr>反而。 thead 只在里面取 tr 而 tr 只在里面取 td

关于html - 在每页打印上显示表头,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36210918/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com