Never mind. It does work presently. I thought I had tried what I used in that other module, but I guess I had a typo before. So I looked it up again, and it's the page-break-inside: avoid; property. I'm now able to prevent splitting a DIV and its contents between pages. This was particularly ugly when it wasn't working because these particular DIVs have borders. I imagine it should work for other elements too.
Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.