0

我有我的表头内容,我想在每个页面上打印溢出的表体数据。我尝试了 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>
4

1 回答 1

0

改为使用<tr><td>My print content</td></tr>。thead 仅在其中包含 tr 并且 tr 仅在其中包含 td

于 2016-03-24T23:58:52.673 回答