Jump to content

Printing issues with IE


Schneider21

Recommended Posts

Hey guys.

 

I'm working on a CodeIgnitor site for a client that was built by another company. One section of the site has issues when printing pages in IE. You can check it out here if you like. Everything displays fine inside the browser and even prints fine from Chrome, Firefox, etc, but when printing from IE, there are some severe issues with overlapping and empty spaces.

 

The basic structure of the page is like this:

<div id="shopbox">
    <div id="list-suppliers">
        <div class="vcard">...</div>
        <div class="vcard">...</div>
        <div class="vcard">...</div>
        <br />
        ...
    </div>
    <div id="list-brokers">
        <div class="vcard">...</div>
        <div class="vcard">...</div>
        <div class="vcard">...</div>
        <br />
        ...
    </div>
</div>

 

The print.css contains the following applicable rules:

#shopbox {border:1px solid green; overflow:visible; position: relative; height: 100%;}
.vcard {width: 170px; min-height: 150px; margin-right: 10px; border: 1px solid red}
br + div.vcard {clear: both;}
#list-suppliers {border: 1px dashed blue; position:relative; margin: auto; clear:both; display: block;}
#list-brokers {border: 1px solid #ff00e6; position: relative; margin:auto; clear:both; display: block;}

 

Bear in mind, the borders and such are for debugging while I try to figure out what's going on.

 

Does anyone have any experience with this sort of problem?

Link to comment
https://forums.phpfreaks.com/topic/264053-printing-issues-with-ie/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.