Border around the page in PDF with MPDF
问题 I have an html page that has borders around, but when I use the MPDF, he breaks a div and not puts border above or down of the broken div, does anyone know how to fix it, or let each page with border around? 回答1: Perhaps you could try a hack using watermarks: http://www.olivettorestaurante.com.br/mpdf/examples/example35_watermarks.php A full page square image used as watermark could work. I know, a bit triky, but sometimes MPDF turns weird when facing some problems... :/ A better answerd