View Single Post
Old 01-23-2009, 01: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: 43,859
Karma: 22666666
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