1

Is it possible to put a border around each page. I've been using a

<div style='border:1px solid red; width:100%' >
</div>

but only puts a border around the first page.

2

you can do this, bay putting your div in page_header
Ancien pseudo : lolo

3

Spipu (./2) :
you can do this, bay putting your div in page_header


Thanks. That worked.

4

sorry to be silly but i have tried this but i only get a border around the header? how can i get the border around the whole page please?

<page id="box" backtop="10mm" backbottom="10mm" backleft="20mm" backright="20mm" >
<page_header>
<div style='border:1px solid red; width:100%;' >

<table style="width: 100%; border: solid 0px black;">
<tr>
<td style="text-align: left; width: 33%">html2pdf</td>
<td style="text-align: center; width: 34%">Test d'header</td>
<td style="text-align: right; width: 33%"><?php echo date('d/m/Y'); ?></td>
</tr>
</table>
</div>
</page_header>...

5

cghrmauritius i have the same problem , did you solve yours?