First page not printing in IE 7

A weird problem was happening on one of my sites where IE 7 could print off a web page, but the first page of printing was blank – the content wasn’t pushed off to the second page, the first page was simply empty and the second continued on from where the first would have ended.

The solution is easy when you know how: set up a print-only stylesheet that is for IE 7 only, by using the usual <!– [if IE 7]> method, then in that stylesheet have

html *{

  float:none !important;



that’s all! Thanks to Robby @ basetwo for tracking this down

Leave a Reply

Your email address will not be published.