fati_kom — 2013-07-08T04:29:51-04:00 — #1
I need to set up a print style sheet ...there are a few bugs in the layout that I can't resolve...
- Firefox is not showing all images(please see print_bug2)
- ...and the image div is overlapping in Chrome with the description div....any help would be greatly appreciated..(please see print_bug3)
For details please see the attached screenshots.
ralphm — 2013-07-08T05:40:30-04:00 — #2
We can't debug images. Do you have a link?
fati_kom — 2013-07-08T05:43:10-04:00 — #3
you can check print preview on website
fati_kom — 2013-07-08T17:29:34-04:00 — #4
Hi everyone , I have figured out the problem , but am still looking for a solution , the problem is , that page-break-inside and page-break-before or after work only in certain browsers...the layout it not breaking in IE , its relatively better in Chrome , but not working at all in FF...my problem is ...that I have a row of tables , each table contains the product image and the product description and the page is breaking inside the table....I don't want the table to break....but I can't do this using the page-break css properties....is there any other way that I can do this?
paulob — 2013-07-09T12:31:48-04:00 — #5
Generally you would create a much simpler layout for print with your print stylesheet and avoid table like structures or floats and take a more linear approach with one element following the next and with as little styling as possible (e.g. remove all widths, heights, positioning , floats etc). However as you have used tables this could be quite difficult to manage and would have been easier if tables for layout was not used and used css display:table instead.
A quick fix you might like to try is to remove the absolute positioning by adding this to your print stylesheet.
I can't guarantee it will work but seems to behave better in print preview although you do get the odd blank page.
fati_kom — 2013-07-09T23:16:05-04:00 — #6
Thanks for the help..It's MUCH better in FF and IE now!