Resolving Table Rows Split Across Pages

WebGrabber may split table rows across two pages, occasionally resulting in a single line of text being split horizontally.


Probable Cause

This issue occurs because WebGrabber sees the table row as an inline element. However, page-break-xxxx styles are officially used only for block elements.


Resolution

To resolve this issue, force an inline element to be treated as a block element with a style change in your CSS.


CSS:

<style type="text/css">

<!--Color added to make sure the style is taking effect-->
tr {display: block; color: Teal; page-break-inside: avoid;}

</style>


NOTE: Due to style inheritance behavior, use caution and adequate testing if you apply the above style change to page-break-before and page-break-after properties.