Hello All, I am trying to get the total table to s...
# advancedpdf
r
Hello All, I am trying to get the total table to stick to the bottom of the page but its not working. Everything that I have found says that
page-break-inside: avoid;
should work but it doesn't. This is for an advanced pdf template
j
the table in your example is a single row - the page-break-inside: avoid is for multi-row tables (it will avoid breaking them up across two pages)
r
@Jon Kears Okay so how do I get the table to stick to the bottom?
j
you can add the total as an extra row to your items table?
You would need to test if the {item} loop is the last in the array and then add to total row where it is
Or you could put the item table in a table but css does not recommend this
But if it's getting to the bottom of the page anyway, what do you want the pdf format to do?
r
Well I have 3 tables that I want to be at the bottom of the PDF
So if I have 1 item or 10 the tables should always be at the bottom of every page
j
you could put them in the footer
r
Okay I’ll give that a shot