View Single Post
Old 01-23-2009, 02:49 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,433
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It's the way the page break is specified that causes this.

Instead of using
Code:
<b><span style='font-size:12.0pt;font-family:Arial;text-transform:uppercase'><br
clear=all style='page-break-before:always'>
</span></b>
which is illegal HTML in any case since you shouldn't have <b> tags as children of <body> tags, if you use

Code:
<div style="page-break-after:always"/>
instead, it would be fine.
kovidgoyal is offline   Reply With Quote