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 searching the internet, I have found that it is only supported by Opera and IE8. Is there a work around that allows me to prevent page breaks in Firefox (3.6) or IE versions less than 8?
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.