anyone has a good tutorial of how to set up advanced html templates for long transactions (with at least 2 pages printout)?
l
LRG
11/12/2020, 8:07 PM
I don’t know of a tutorial, but I’d recommend using this for content that you do not want to be split:
Copy code
table.total {
page-break-inside: avoid;
}
m
Mars
11/17/2020, 3:02 AM
table.total applies to any table? sorry not so familiar with html (what does .total actually mean) @LRG
l
LRG
11/17/2020, 9:36 AM
table.total is just a css class that you can reuse later to format your content. You can use this parameter "page-break-inside: avoid;" inside your tables, or as a class that you can reuse on serveral tables.
LRG
11/17/2020, 9:37 AM
here, .total is the css class that I use for my total tables. I don’t want them to be split between two pages. So if the table hits the bottom, it’s sent to the next page instead.