View Full Version : min-height causes a printing problem

10-17-2007, 12:57 PM
A .css definition of min-height on a page element which controls width and height is causing a problem when pages are printed.
#wrapper {
position: relative;
width: 770px;
margin: 0 auto;
background: #fff;
min-height: 875px;

The content does not flow over from one printed page to the next but seems to stay in one 'lump' and push down the rest of the content
Is there any way of remedying this in the print.css file I am creating?

Many thanks

10-17-2007, 02:43 PM
I found that keeping widths to below 640px seems to work for portrait A4 printing. Sometimes using css to seperate pages is helpful


<div id="page>
page content


Any chance you can show an example of what the prints look like compared to the web page on screen

10-18-2007, 01:02 PM
Thank you so much for taking the trouble to respond. In fact it was the background image which was causing all the trouble. I substituted this in the print.css with a 1pixel by 1 pixel image and all was well.