Hide table border at page break in PDF, using phantomjs

15 Views Asked by At

I have a pdf exported using html-pdf as below. enter image description here

I want the border of the last row of the table to be displayed as shown below. Currently, i use html-pdf. enter image description here

i used the following css but the table row when exporting pdf is not as expected.

CSS:

   table {
     page-break-inside: avoid;
   }

   tr {
     page-break-inside: avoid;
   }

   td {
     page-break-inside: avoid;
   }
0

There are 0 best solutions below