Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在用 PHP 生成一个 word 文档(带有 ms-word 标题的 HTML),有没有办法使分页符?
现在,<p> </p>在页面更改之前,我正在等待很多,但这远不能令人满意。
<p> </p>
我没有测试过它是否有效,但你可以尝试:
<div style="page-break-before:always" />
分页符在 HTML 中没有任何意义。标记应该在下一页上的文本更优雅,比方说