我想在页脚中修复表格,但它是在生成PDF时使用的。
在浏览器中使用有效,但在生成pdf时无效。
<table width="100%" style="position:absolute; bottom:0">
<thead>
<tr>
<th width="33%" style="border-top: 1px solid #000">Assinatura</th>
<th width="33%"></th>
<th width="33%"></th>
</tr>
</thead>
</table>
将表格包裹在DIV标记中,并绝对放置DIV。
<div style="position:absolute; bottom:0">
<table width="100%">
<thead>
<tr>
<th width="33%" style="border-top: 1px solid #000">Assinatura</th>
<th width="33%"></th>
<th width="33%"></th>
</tr>
</thead>
</table>
</div>