janhartmann janhartmann - 1 year ago 40
CSS Question

When printing page table rows/cells gets split on page break

I have an table with nested tables in. When I am printing this page, the cells gets split on page break.

Is there any chance that I can control that it should jump onto the next page instead of splitting the middle?

Answer Source

You can have a look at the page-break-before css property. For example you can set it to auto on each of your cells.

Bur I can't guarantee this will work, each navigator prints a little differently. Firefox is known to have problems printing big tables (more than a page) for example.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download