我已经使用带有display: table
的DomPDF创建了一个PDF文件,但是当我尝试渲染它时,内容不能分成两页,所以内容总是转到下一页。
看起来像这样
Text here
----------------------------------------------------------------
+-----------------+-----------------------+
| No. | : ................... |
+-----------------+-----------------------+
| Name. | : ................... |
+-----------------+-----------------------+
| Address. | : ................... |
+-----------------+-----------------------+
我想要的就是这样
Text Here
+-----------------+-----------------------+
| No. | : ................... |
+-----------------+-----------------------+
| Name. | : ................... |
+-----------------+-----------------------+
----------------------------------------------------------------
+-----------------+-----------------------+
| Address. | : ................... |
+-----------------+-----------------------+
对此有什么解决办法吗?