Work around for page-break-inside:avoid
I am currently working on printing something. I have a dynamic page where it has variable numbers of block level elements. Some may be 1 line, and some may be 100+ lines. <div class='myclass'><span id="id1">1</span>text 1 line....</span></div> <div class='myclass'><span id="id2">2</span>text 10 lines....</span></div> <div class='myclass'><span id="id3">3</span>text 3 lines....</span></div> <div class='myclass'><span id="id4">4</span>text 100+ lines....</span></div> ... I know the page-break-inside:avoid; when it is implemented (supported by Opera, Chrome, and IE7+ in strict html mode only)