似乎表格标题在打印模式的每个页面上应该重复的内容仅在第一页上出现,如果它超过一定高度(我发现任何关于此的文档)。
在Chrome上,即使它没有出现在第2页的第2页,也会出现一个空白区域。在其他浏览器(IE,Chrome)上它根本不会出现,只有身体。
如果我将页面切换为肖像,一切正常。
任何有关此限制的工作或一些想法?
由于
<html>
<head>
<meta charset="utf-8">
<style>
@page {
size: landscape;
margin: 1cm;
}
</style>
</head>
<body>
<table>
<thead>
<tr>
<th>
xx<br>
xx<br>
xx<br>
xx<br>
xx<br>
xx<br>
xx<br>
xx<br>
xx<br>
xx<br>
xx<br>
xx<br>
xx<br>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
<tr>
<td>asdfas</td>
</tr>
</tbody>
</table>
</body>
</body>
&#13;