Jump to content

Recommended Posts

Posted

Can someone take a look at this and see why IE seems to print an extra page. This does not occur in Firefox and Safari. You should be able to tell if there are 1 or two pages via using Print Preview. Note: Google Chrome doesn't seem to have a Print Preview buttom.

 

http://www.goldenalmond.com/coupon0910944.htm

 

I don't believe it's a printer margin issue because it's only a image that is being printed and just to be sure, I've set my printer margins to zero to no avail.

 

Here's the print css styles:

 

Note: It's kind of a mess because I was trying just about everything to get it not to print a second page in IE.

 

* {display: none;}

html {
   display: block;
   height: auto;
}
body {
   display: block;
   height: auto;
   font: 12px/150% Georgia, "Lucida Sans Unicode","Lucida Grande",Arial,sans-serif;
   background: none;
}
/*********** ---------- ::Template:: --------------------- ***********/
#body-wrap {
   width: auto;
   margin: 0;
}
#inner-body-wrap {
   width: auto;
}
#outer-wrap-top {
   display: none;
}
#outer-wrap-middle {
   width: auto;
   background: none;
}
#outer-wrap-bottom {
   display: none;
}
#address {
   display: none;
}
#address span {
   display: none;
}
#masthead {
   display: none;
}
#logoblock {
   display: none;
}
#tagline {
   display: none;
}
#tagline img {
   display: none;
}
#content-wrap-top {
   display: none;
}
#content-wrap-middle {
   width: auto;
   background: none;
}
#content-wrap-bottom {
   display: none;
}
#leftcol {
   display: none;
}
#leftcol-top {
   display: none;
}
#leftcol-middle {
   display: none;
}
#leftcol-bottom {
   display: none;
}
#contents {
   width: auto;
   float: left;
}
#contents p, #contents img {
   display: none;
}
#rightcol {
   display: none;
}
#contents h1 {
   margin-top: 0px;
}
#rightcol h2 {
   display: none;
}
#rightcol em {
   display: none;
}
#rightcol table td {
   display: none;
}
#rightcol h3, #rightcol h4 {
   display: none;
}
#rightcol a, #rightcol a:link, #rightcol a:visited {
   display: none;
}
#rightcol p {
   display: none;
}
#footer, #footers {
   display: none;
}
#footer p, #footers p {
   display: none;
}


/*********** /// place specific page rules here if needed /// ***********/
#logolink {
   display: none;
}
.divider {
   display: none;
}
#googlemap-wrap {
   display: none;
}
#googledirection .mapaddress {
   display: none;
}
#CGGoogleMaps0 {
   display: none;
}
#googledirection .mapsubmit {
   display: none;
}
#content-wrap-middle #contents .print-hide {
   display: block;
   margin-top: -0px;
}
#content-wrap-middle #contents .print-hide p, #content-wrap-middle #contents .print-hide img {
   display: block;
}
#content-wrap-middle #contents .print-hide img {
   width: 600px;
}

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...