I understand that the CSS page-break-inside:avoid instruction is supposed to prevent a page break within a div when an HTML document is printed. Through searchi
Sorry, my answer is "not possible", although I'd love it if anyone can prove me wrong.
I've ran into the same problem lately, and after doing a little bit of research I decided to just go with
page-break-after: always;
after every several number of elements.
http://reference.sitepoint.com/css/page-break-inside
http://reference.sitepoint.com/css/page-break-after