I am generating a print report using table. The table has multiple rows; While Printing the page it requires a page-break-after each 15 rows
To do so, I have applied
@media print {
tr:nth-of-type(15n){
page-break-after: always !important;
page-break-inside: avoid !important;
}
What is the issue?