Welcome to WebmasterWorld Guest from 23.22.46.195

Forum Moderators: open

printing & css

   
8:07 am on Oct 31, 2006 (gmt 0)

5+ Year Member



Any suggestions as to why print rendering is bad on web page using CSS, the page loads perfectly for viewing, it just gets screwed up when trying to print.

6 months ago under IE & Firefox the print was no good with incorrect text colors and table/cell colors missing but with Opera, the print was perfect.

I've now installed Opera 9 and the print is bad again. I reinstalled 8.5 which I think was my last version but the print is still bad. It's particularly strange as it views on screen fine, but doesn't print correctly.

Thanks

9:06 am on Oct 31, 2006 (gmt 0)

5+ Year Member



I'm not sure as to what exactly is the problem you are facing. Are the same websites rendered differently when printing from different versions of Opera?

Have you noticed any specific changes that are bothering you?

7:39 pm on Oct 31, 2006 (gmt 0)

5+ Year Member



Using any browser the page appears perfect on normal viewing on screen. If you do print preview, the page styles get messed up with fonts not following the set style and tables/cells not following style.

6 Months ago I had this problem. After trying multiple browsers I found Opera actually printed the document perfectly, no problem, style was OK as on screen. Opera solved my problem.

Today I'm trying to print the exact same page but now Opera also has the problem (OK in default browser view but not OK for printing/print preview).
I tried placing styles direct in document (instead of CSS) but problem remains.

Why does Opera (& other browsers) not follow the style for printing? Are there any other settings to change etc?

thanks

8:05 pm on Oct 31, 2006 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Have you validated the code?

W3C Validator - HTML [validator.w3.org]
W3C Validator - CSS [jigsaw.w3.org]

9:16 pm on Oct 31, 2006 (gmt 0)

5+ Year Member



thanks for that, i used them, they choked & died (so many errors), I looked and played with code then did some more searching...

while messing around I changed a setting in Opera 'Print Page Background' then reloaded page (necessary step) - Problem Fixed! How very, very weird... It had to be something silly. As said, it loads fine on normal viewing it was just struggling on print view.

thank you

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month