473,597 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Blank page when printing in Firefox

JF
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
Jun 27 '08 #1
2 7636
On May 26, 10:35 pm, JF <joerg.froe...@ gmail.comwrote:
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.
Athttp://80.190.188.58/test/test.htmlyou 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
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
Jun 27 '08 #2
JF
On 27 Mai, 10:26, microgolf <microg...@gmai l.comwrote:
>
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
I've found the problem:
<label for="provbasis" class="fett" style="width:11 0px; float:left;">
was missing the float:left. Now printing works as expected.
Thanks for pointing me in the right direction.

Greetings
JF

Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1727
by: anon | last post by:
<?php if(! isset($_POST)) { header("Location: login.php"); } mysql_connect(DELETED) mysql_select_db(DELETED) $username = $_POST;
0
1184
by: Jens Mehl | last post by:
Hi folks, our environment: Win 2003, IIS 6, SSL, ASP.NET Framework 1.1 Szenario 1: get a large page (about 1.5 MB) from asp.net with SSL/https the viewstate data within this page is about 800 KB do a post --> everything works fine ;-)
1
2171
by: adiel | last post by:
Hello everyone. The problem is when printing, the text gets cut half way and prints the other half on to the next page when printing using internet explorer and an asp.net datagrid. I am sure there must be a simple fix to stop the text from getting cut in half like this when using the asp.net datagrid. Any ideas? Thanks before hand, Adiel
3
1438
by: Urs Eichmann | last post by:
Hello I have an ASP.NET web site where you can page through lists by using INPUT TYPE=image buttons. I noticed that, in IE6, the whole page gets cleared and built again from the ground up, whereas in Firefox, the page stays on screen until the server's answer is here. The page is built mainly with CSS layouts and DIV's/SPAN's, altough, for the list view of the actual result, a TABLE is used. The clearing of the page every time the...
10
7584
by: David | last post by:
Hi Everyone! I am working on a project for a directed study class and am having problems with webservices. I have .NET Framework version 1.1.4322.573 with IIS and Frontpage Extensions installed and Visual Studio 2003. These are all a fresh install as I removed and re-installed to try and fix the problem to no avail.
3
8612
by: Chase | last post by:
The print preview dialog will display the preview of the document but will print a blank page when the print icon is clicked. Printing is fine otherwise. Can i set the print icon in the printpreviewdialog to go to the printdialog.
4
3314
by: LuTHieR | last post by:
Hi, is there any way to write a header in each HTML page when printing them while leaving the header only on top of the file when viewing it? I mean, I have a file that looks like this: TITLE TABLE1 TABLE2
5
14180
by: fjanon | last post by:
Is there a way to remove the default footer/header from the printed page when printing a page from HTML/Javascript in IE 6? I want to use letterhead paper and I have to remove manually the header/footer from the default printer setting. I know that IE has lots of options/features, I spent a good time on MSDN but could not find anything. TIA Fred
0
1150
by: tvance929 | last post by:
Hey there. Trying to learn to print. Got a printout - (NEED TO LEARN how to do a page 2, etc. - but that will be after this post) - from a basic this.myPrintDocObject.Print. Now I tried to add a print dialog using the following code: PrintDialog dlg = new PrintDialog(); dlg.Document = printAmortization; if (dlg.ShowDialog() == DialogResult.OK) {
0
7969
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8381
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8035
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8258
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6688
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5847
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3886
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3927
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1494
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.