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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.