If I have a table and I want to add a page break after each 7th row how would I do that with css?
#table tr:nth-child(7n+1)
{
page-break-after","always"
}
If I have a table and I want to add a page break after each 7th row how would I do that with css?
#table tr:nth-child(7n+1)
{
page-break-after","always"
}
It’s nth-of-type you’re looking for, more likely.
It should be
tr:nth-of-type(7n) {
page-break-after:always;
}