CSS Page Break with IE 7

To force a page break when printing the style=”page-break-before: always;” can be added. But this doesn’t always work with IE 7. For some reason IE 7 would ignore this. Probably because of the new print preview and “size to fit”. The simple fix to get IE 7 to recognize the page break just add something to the div section. This worked for me.

<div style=”page-break-before: always;”>
   <!–[if IE 7]><br style=”height:0; line-height:0″><![endif]–>
</div>