954,591 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Print page in Safari

Hi there, I have a print button on the bottom of my page so that the user can print the page. I also have a print css style sheet so the images/colors aren't visible and the user can just print the text.

http://www.e-squareddesigns.com/websites/pacsoc/pacsoc_design.html

When I click the button in Safari 5.0.2 (for mac), part of the page "whites out" when the print dialog box pops up, and then when I hit "preview" the preview page looks fine, but the scrollbar on the website disappears. I then have to "refresh" the browser for the scrollbar to reappear.

Any ideas? Could it be something in the CSS Print Stylesheet? Works great in every other browser except for Safari.

Thanks!

peepster
Newbie Poster
10 posts since May 2009
Reputation Points: 10
Solved Threads: 0
 

Hi there, I have a print button on the bottom of my page so that the user can print the page. I also have a print css style sheet so the images/colors aren't visible and the user can just print the text.

http://www.e-squareddesigns.com/websites/pacsoc/pacsoc_design.html

When I click the button in Safari 5.0.2 (for mac), part of the page "whites out" when the print dialog box pops up, and then when I hit "preview" the preview page looks fine, but the scrollbar on the website disappears. I then have to "refresh" the browser for the scrollbar to reappear.

Any ideas? Could it be something in the CSS Print Stylesheet? Works great in every other browser except for Safari.

Thanks!

use javascript:window.print();

made a css for print link it into your page with media type print

akvlko
Light Poster
31 posts since Oct 2009
Reputation Points: 10
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: