ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Printing problem with IE

August 18, 2010 6:27pm

Subscribe [3]
  • #1 / Aug 18, 2010 6:27pm

    Stoelting

    99 posts

    When users print my blog pages using IE, the printed page is missing approximately the first page of text content. It breaks in the middle of the entry so it’s not a problem between different weblog elements. The pages print fine using Windows Firefox.

    Here are the first 2 lines of code in the article template (above the “head” tag):

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html >

    Is there anything in this that could be causing problems with IE? Any other suggestions for possible cause or a work around to get IE to work?

    Meanwhile, I’m recommending users to browse with Firefox, Safari or Opera.

  • #2 / Aug 19, 2010 12:14am

    Sue Crocker

    26054 posts

    Which version of IE?

  • #3 / Aug 19, 2010 5:06pm

    Stoelting

    99 posts

    It occurs with IE7. I don’t know if it occurs with newer versions. Here is the code for the page content.

    <div id="masthead">
    {embed="embeds/logo"}
      <h1 class ="heading">{exp:weblog:info weblog="{master_weblog_name}"}{blog_title}{/exp:weblog:info}</h1>
    </div>
    
    <div id="wrapper">
    
    <div id="middle">
    
    <div id="blog-print">
    
    {exp:weblog:entries weblog="{master_weblog_name}" orderby="date" sort="desc" limit="15"}
    
    {categories}
    <h2 class="chapter">{category_name}</h2>
    {/categories}
    
    <h3 class="title">{title}</h3>
    
    {entry}
    
    {/exp:weblog:entries}
    </div>
    </div>
    </div>

    The IE7 print skips the category name, title and about the beginning page of the entry content. Then it prints the remaining entry content and some static text below it.

  • #4 / Aug 20, 2010 2:31am

    John Henry Donovan

    12339 posts

    Stoelting,

    Not necessarily an EE issue as such but just the way a browser prints pages.

    Have you got a link to your page so I can have a look to see if anything else if going on there?

    What I do on my sites is create a specific print stylesheet
    There is a good article here on the subject

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases