Jump to content

Opera oddity


AndyB

Recommended Posts

I'm using CSS to show an element only in the printed page version.  Everything works as expected with IE, FF, and Netscape Moz.  Opera refuses to dispay the header image in print preview or hard copy when I use the following:

HTML code
[code]<div class="print_only"><img src="images/header-picture-print.gif" width="290" height="80" alt=""/></div>[/code]

CSS screen
[code].print_only {
display: none;
}[/code]

CSS print
[code].print_only {
display: inline;
}[/code]

display: block has the same non-effect. How can I get the image to display in the print mode using Opera?
Link to comment
Share on other sites

This is pretty odd, but I think opera doesn't load the image for unknown reason. You can fix it by omitting the display:inline; all togather in the print style.
[code]
.print_only {}
[/code]
Let me know if this works.
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.