Forum Moderators: not2easy

Message Too Old, No Replies

Print stylesheet.

Opera insists upon printing background-images

         

D_Blackwell

1:13 am on Mar 24, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Simple enough print stylesheet. Prints fine in Firefox and IE, though they have a different opinion of what constitutes font-size: 12pt. Opera, however, will eliminate the background-image behind h1#logo, but will not eliminate the background-image: for body or .click-box. What am I missing for Opera on the backgrounds?


html, body {
width: auto; margin: 3%; padding: 0; font-size: 12pt; font-family: Arial, Verdana, Helvetica, sans-serif; background-color: #fff; background-image: none; color: #000;
}
h1#logo {
margin: auto; width: 80%; border-width: 4pt; background-color: #fff; background-image: none;
}
a {
display: none;
}
h2.header-a {
text-decoration: none;
}
img {
display: none;
}
.click-box {
width: 100%; border-width: 0; margin: 0; padding: 0; background-color: #fff; background-image: none;
}
.dont-print {
display: none;
}

D_Blackwell

1:45 am on Mar 24, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Update to Opera background-image: print question.

Perfect in version 7.03

As originally described in version 8.54. Removes only from h1#logl

Versions 9.02 and 9.26 remove the background-image: from .click-box and MOST of the background-image: from the body. The body has a swath of the image at near the top and near the bottom in both versions; portions of the body above and below .click-box.