html2pdf icon indicating copy to clipboard operation
html2pdf copied to clipboard

[[page_nb]] adds extra padding on the right-hand side

Open eremem opened this issue 11 months ago • 2 comments

Please see the following code from res/example03.php:

    <page_footer>
        <table style="width: 100%; border: solid 1px black;">
            <tr>
                <td style="text-align: left;    width: 50%">html2pdf.fr</td>
                <td style="text-align: right;    width: 50%">page [[page_cu]]/[[page_nb]]</td>
            </tr>
        </table>
    </page_footer>

and the result:

grafik

The problem doesn't seem to be specific to <table>. I could also reproduce it by simply adding [[page_nb]] directly into <page_footer>.

eremem avatar Mar 25 '24 13:03 eremem