opera not printing image in print style sheet (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


d a v e -> opera not printing image in print style sheet (11/27/2007 2:12:32)

opera won't print my logo (only the alt text where it says charger sailing)
http://chargercomposites.com/sailing/index.html

the image is an absolutely positioned div that's hidden but shown in the printstylesheet




Tailslide -> RE: opera not printing image in print style sheet (11/27/2007 2:25:34)

I'd say it's how you've got it set up - it's printing it for me.

What I tend to do with things like this (as it can be so hard to control) is add a simpler printable image into the mark-up which I hide normally but show in the print stylesheet




d a v e -> RE: opera not printing image in print style sheet (11/27/2007 2:31:36)

"What I tend to do with things like this (as it can be so hard to control) is add a simpler printable image into the mark-up which I hide normally but show in the print stylesheet" lol that's what i did,er didn't i??

in my print sheet i have

#headerprint {display:inline;
position: absolute; top: 0; left:0;
/* DOESN'T DISPLAY IN OPERA !!! */
}

and this is the normally hidden div
<div id="headerprint"><img src="images/sailing_printlogo.gif" alt="Charger Sailing" width="306" height="70" /></div>

or do you mean just use an image?? displayed as block and positioned?




Tailslide -> RE: opera not printing image in print style sheet (11/27/2007 2:45:06)

I'm being really thick this morning (it can be known to go on all day!) - I can't see that in your print stylesheet or in the markup...

My Firefox isn't printing it either by the way. It's not a background image presumably.

I normally just have an image, sitting there above whatever I've got for the logo (usually some IR thing) which is display:none in the normal and PDA stylesheet. The display:none rule is removed in the print stylesheet.




d a v e -> RE: opera not printing image in print style sheet (11/27/2007 3:08:18)

omg i think that i'm being even thicker - i haven't uploaded it yet: i'm looking at the local version [:o]

let me upload it...




d a v e -> RE: opera not printing image in print style sheet (11/27/2007 3:13:43)

SOLVED. at least i think so. for some reason opera wouldn't print it on the local version but now i've uploaded it all it works fine...

thanks, and sorry to waste your time ;)



does it preview ok in IE7? only i have the standalone version of IE7 and it doesn't actually show print preview...




Tailslide -> RE: opera not printing image in print style sheet (11/27/2007 5:12:50)

[sm=rotfl.gif] Glad it wasn't just me!!

Seems to work fine for me in FF, Opera and IE7.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
4.699707E-02