TCPDF:HTML 表格和分页符 [英] TCPDF: HTML table and page breaks
问题描述
我正在创建一个大型 HTML 表格,但我遇到了分页符问题,如下图所示:
有没有办法自动解决问题?或者有什么方法可以做到?
尝试将其添加到您的 一个简单的例子是: I am creating a large HTML table and I have problem with page breaks as you can see in the following image: Try adding this to your So a quick example would be: The 这篇关于TCPDF:HTML 表格和分页符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! 标签: nobr="true"
.><tr nobr="true"><td>测试</td><td>测试2</td></tr>
nobr="true"
可防止表格行分开.你也可以把它放在 和 标签上.
Is there a method settle down the problem automatically? Or what is the way to do it?<tr>
tags: nobr="true"
.<table>
<tr nobr="true">
<td>Test</td>
<td>Test 2</td>
</tr>
</table>
nobr="true"
prevents the table rows from ever breaking apart. You can also put this on <td>
and <th>
tags.
登录
关闭