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: 22,523
Karma: 2944574
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.
__________________
Get calibre

Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it.
kovidgoyal is offline   Reply With Quote