anyone has a good tutorial of how to set up advanc...
# advancedpdf
m
anyone has a good tutorial of how to set up advanced html templates for long transactions (with at least 2 pages printout)?
l
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
table.total applies to any table? sorry not so familiar with html (what does .total actually mean) @LRG
l
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.
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.