Closed Bug 217144 Opened 22 years ago Closed 22 years ago

don't break images in half when printing

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 132035

People

(Reporter: jwz, Unassigned)

References

()

Details

Print preview on this page: http://www.dnalounge.com/flyers/2003/08/03-photek.html splits the second image in half, instead of forcing it onto the second page. The structure of the page is basically <table> <tr><td><img></td></tr> <tr><td><img></td></tr> </table> Since the height of the two images is greater than the height of the page, a page break should be inserted between the two table rows. I tried playing around with some CSS attributes to force this, like IMG { page-break-inside: avoid; } and <TR STYLE="page-break-before: auto; page-break-inside: avoid"> but that didn't work. I was able to *force* a page break with <TR STYLE="page-break-before: always"> but that's not right, since the page shouldn't be broken if both images fit on one page. Mozilla 1.4 Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701
The page-break-* properties don't all work yet (Bug 132035)
*** This bug has been marked as a duplicate of 132035 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.