If I have a table and I want to add a page break after each 7th row how would I do that with css?
Code CSS:#table tr:nth-child(7n+1) { page-break-after","always" }
| SitePoint Sponsor |

If I have a table and I want to add a page break after each 7th row how would I do that with css?
Code 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
Code:tr:nth-of-type(7n) { page-break-after:always; }
Bookmarks