Hi all,
I'm sitting with this problem that just boggles my mind.
I have created a print friendly version of my stylesheet that only displays the text in a div (several pages). The div is set with a padding of 20% to give the page extra margin, that's about it.
To generate a page break. I use
Code:
.page_break {
display: block;
page-break-before: always;
page-break-inside: avoid;
}
I have read that there is a bug that manifests itself if you have elements that floats, so I don't have any.
The problem in the meantime is that when I print the page, the result is inconsistent across different browsers.
I'm on a Linux box with Firefox 17.0.1 and it looks like I want it to.
My friend tested it on Safari on OSX and here there is blank pages for each page break I make. If I remove the page breaks, the page is printed as suspected - as one long stream with respect to the styling.
So what could be the issue?