Open
Bug 166836
Opened 22 years ago
Updated 2 years ago
[abs pos]absolute positioned div is printed on a separate page
Categories
(Core :: Printing: Output, defect, P3)
Tracking
()
NEW
People
(Reporter: jesse.houwing, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
I've got a sample document that has sidenotes (small tips in the gutter).
These sidenotes get printed on their own page, instead of in the gutter where
they belong. In the browser this is displayed correctly. IE and Opera will do
this the right way too.
Reporter | ||
Comment 1•22 years ago
|
||
Updated•22 years ago
|
Summary: absolute positioned div is printed on a seperate page → [abs pos]absolute positioned div is printed on a separate page
Updated•22 years ago
|
Comment 3•22 years ago
|
||
mass reassign to default owner
Assignee: karnaze → table
Status: ASSIGNED → NEW
Component: Print Preview → Layout: Tables
QA Contact: sujay → madhur
Target Milestone: mozilla1.3beta → ---
Updated•22 years ago
|
Target Milestone: --- → Future
print bugs
Assignee: table → printing
Component: Layout: Tables → Printing
QA Contact: madhur → sujay
Target Milestone: Future → ---
I am experiencing the same thing. I tried wrapping the AbsPosDivs with another
<DIV> tag and assigning that a class declaring "page-break-inside: avoid
!important;" but that didn't make a difference. I also tried the same style
declaration for the <BODY> tag, same result.
Two things that seem to work keeping AbsPosDivs together:
1. "white-space: pre;" for the wrapper div (None and Auto do not work either).
But then that double spaces everything!
2. make wrapper <div> Absolutely positioned to {top:0px; left: 0; z-index: 1;
position: absolute; margin: 0 0 0 0; padding: 0 0 0 0;}. The problem with this
then is addressed in Bug#75213, long pages cut-off, shows/prints only page 1.
I found a MOZILLA WorkAround!!!!
(now jacked in IE6 - A browser detect & write these lines may be in order)
link a stylesheet for printing only.
<link href="/common/NoPrint.css" rel="stylesheet" type="text/css" media="print" />
In the stylesheet, redefine the <BODY> tag with:
body{
white-space: pre;
line-height: .5em;
}
Long Single Divs that wouldn't print all parts before should print all parts,
and also, divs that were split and printed on multiple pages, will now all print
Inline.
YEAH!
Updated•15 years ago
|
Assignee: printing → nobody
QA Contact: sujay → printing
Reporter | ||
Comment 7•15 years ago
|
||
Still happens under Firefox 3.7pre under Windows 7.
Updated•2 years ago
|
Severity: normal → S3
Comment 8•2 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 15 votes.
:jwatt, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Flags: needinfo?(jwatt)
Comment 9•2 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Flags: needinfo?(jwatt)
You need to log in
before you can comment on or make changes to this bug.
Description
•