Open
Bug 763870
Opened 13 years ago
Updated 2 years ago
HTML table with border are not printed correctly
Categories
(Core :: Printing: Output, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: gamaliel, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2
Steps to reproduce:
I printed the attached document via FireFox 13 on Mac OS X 10.6.8.
Actual results:
The black border disappears when printed.
Expected results:
The black border should be printed as displayed.
If you increase the border size to 3px, it starts to appear (border: 3px solid black;).
[You might argue that even the display of black border doesn't look right...]
Comment 1•11 years ago
|
||
When you want a document to be printed correctly, you should use "pt" instead of "px" units.
e.g. 0.5pt for a thin line.
Pixels on printers are very small, and a 1px line usually does not show up at all.
This is more a defect of the printer than a bug in the browser.
If you like, you can use a separate printing stylesheet that overrides the border width
when the document is printed.
Rob, "pt" does not help much. On this demo (http://fiddle.jshell.net/w1f0bhtw/14/show/light/) I used 1pt border and it still disappears on 2nd page at the top. Increasing it to 1.5pt helps the top border, but other borders are too thick now. I think the problem in in a way how FF processes "border-collapse: collapse", see bug 307330 and bug 484258.
Comment 3•10 years ago
|
||
That is a different bug! I previously reported Bug 924172 which now appears to be similar
to Bug 307330 (borders incorrect on multipage tables printout when border-collapse is used).
This bug report says that any borders disappear when printed, that is cause by the 1px width
which is too thin to be visible on printout.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•