Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / May 2008



Tip: Looking for answers? Try searching our database.

Blank page when printing in Firefox

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JF - 26 May 2008 21:35 GMT
Hello,

I have a problem with a print.css. When trying to print or using the
print preview in Firefox only a blank page is shown.
At http://80.190.188.58/test/test.html you can find a test-page with
the problem (please ignore some missing images and additonal,
unrelevant css-files for screen-rendering).

Printing works as expected in Opera 9.27, IE 6, IE 7 and Safari.

When inspecting the print preview HTML-Code in Firebug the elements
which should not be printed are display:none as expected. The elements
which should be printed are not shown as display:none but don't show
up on the print preview

Can someone give me hint how to resolve this problem?

Thanks
JF
microgolf - 27 May 2008 09:26 GMT
> Hello,
>
[quoted text clipped - 15 lines]
> Thanks
> JF

Hey,
the problem is that there is a ton of css styling inside of your
xhtml ...
I just deleted all of that and like magic you get a print preview with
everything showing
exactly like in safari.
Just clean up the css mes and put it where it belongs, in the css
file ;)

Good luck!
microgolf
JF - 30 May 2008 09:31 GMT
> Hey,
> the problem is that there is a ton of css styling inside of your
[quoted text clipped - 7 lines]
> Good luck!
> microgolf

I've found the problem:
<label for="provbasis" class="fett" style="width:110px; float:left;">
was missing the float:left. Now printing works as expected.
Thanks for pointing me in the right direction.

Greetings
JF
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.