Internet Explorer Only Prints First Page


We recently had an issue on our site printing user resumes. Resumes that should have been multiple pages were only being printing the first page in Internship Explorer (and the bottom of the page even printing Page 1 of 1 – so clearly IE thought that there was only one page). The issue seemed to the be the fact that our print.css file was using absolute positioning on an element. Although Chrome and FireFox were able to print correctly regardless of this styling; IE was not.

@media print {
  .main-content {
    position: absolute; top: 0; left: 0;
  }
}

Removing the absolute positioning caused IE to recognize the other pages. Of course we had to readjust our css so that the printing styles still looked how we wanted. Hopefully this helps you solve any similar issues you maybe be having.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s