I am creating a dynamic PDF in ColdFusion and having an issue with \"pagebreak\". The page in question could have 1 record, or up to 60+ records. Each record is displayed
After wrestling with this issue on and off for several months, I've discovered that wrapping the contents of a td with a div (ie.) will prevent a page-break inside the row. With this setup, a page-break that would normally split the row between pages will instead fall before the row, creating a little extra whitespace at the end of the first page and placing the row at the beginning of the next page.
Note about rows with multiple cells: A single td-nested div is sufficient to cause the above behavior for the whole row.
Blah blah blah blah blah
Gnar gnar gnar gnar gnar
Soda POP soda POP soda POP
Stellar!