简体   繁体   中英

dompdf table rendering issue

I'm using DomPDF to generate invoices in a project I'm working on. I've done so several times before and never had any trouble but since today however It got so slow that the maximum execution time gets reached. I've confirmed that this happens because of: $dompdf->render() I'm generating some tables to display the data in. but is seems to find this table quite difficult. Does anyone know what could be the problem?

dompdf and my table can be found: http://pastebin.com/G585VQma (figured I'd put it on pastebin to save some space)

dompdf不支持通过页面拆分表格单元格,因此您需要将cellspacing="10"的表格更改为具有相同样式的块元素(例如div ,或者至少不要将包含多行的表格放在这些表格中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM