Open Bug 344346 Opened 20 years ago Updated 4 years ago

Page doesn't fit paper when printing

Categories

(Core :: Printing: Output, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: fleona, Unassigned)

Details

Attachments

(3 files)

I always seem to have problems when printing my webpages. While in IE and Opera the content fits in the page perfectly, in firefox 1.5.0.4 or any version it looks always bigger than intented and so it doesn't fit on the paper page. The page has valid css (besides the color name and some warnings) and html. I will attach the source of the html page and the screenshot of the IE and Firefox print preview.
Attached image IE print preview —
Attached image Firefox print preview —
Attached file testcase —
WFM with ff1.5.0.4 on win2k. Print Preview looks like in IE.
I have traced the problem to the way css is applied when printing. Notice the following section on the css that is applied both in screen and print media: .texto,td { color: lemonchiffon; font-family: Tahoma; font-size: 70%; font-weight:bold; } If i remove the td tag from the css section, then the text doesn't get cut off. In the media="print" section the following css is applied to the td: td{ color:#000000; font-size:50%; } From what i understand, the browser should apply the 4 rules in the main css section, and overrule 2 of them with the 2 rules listed in the media="print" section. But even if i declare the 4 rules in the print section, they don't get applied. So my guess is that firefox isn't overruling the font-size somehow when printing.
Hmm. I will comment on my printer settings: IE: Letter, vertical orientation, i set all margins at zero but they get reset to 5,29, 5,29, 4,95 and 5,29mm. Blank on all headers and footers Firefox: Scale 100%,portrait, zero margins, and blank on all headers and footers
Assignee: printing → nobody
QA Contact: printing
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: