Hi -- we have created TRs with three rows each, such that each TR holds three rows of data. We do not want a page break within the TR, such that those three rows are ever split up. I attached an example below.
However -- we are having unwanted additional page breaks being inserted randomly.
Here is the CSS at the moment:
table.spirits {
border: 1px solid blue !important;
page-break-inside: avoid !important;
break-inside: avoid-page !important;
}
table.spirits > tr > td {
page-break-inside: avoid !important;
break-inside: avoid-page !important;
border: 1px solid red !important;
}
tr.page-break-avoid {
page-break-inside: avoid !important;
break-inside: avoid-page !important;
border: 1px solid red !important;
}
However -- we are having unwanted additional page breaks being inserted randomly.
Here is the CSS at the moment:
table.spirits {
border: 1px solid blue !important;
page-break-inside: avoid !important;
break-inside: avoid-page !important;
}
table.spirits > tr > td {
page-break-inside: avoid !important;
break-inside: avoid-page !important;
border: 1px solid red !important;
}
tr.page-break-avoid {
page-break-inside: avoid !important;
break-inside: avoid-page !important;
border: 1px solid red !important;
}
Edited by zackingit