I use CSS like this:
which works well, except that if a table is, say 1.5 pages long and you're a third of the way down the page, it'll still start the table on the next page.
It might be better if, where it was going to go across a page break anyway, it used up that space rather than starting on a new page.
table {
page-break-inside: avoid;
}
which works well, except that if a table is, say 1.5 pages long and you're a third of the way down the page, it'll still start the table on the next page.
It might be better if, where it was going to go across a page break anyway, it used up that space rather than starting on a new page.