Quote:
Originally Posted by coldplayplayer
I managed to get this working today. It may not be the correct way of doing it, but it did work for me.
After I've exported from InDesign as an ePub, I use Calibre to Tweak it. I edit my XHTML and CSS with Notepad++ on the PC or Text Wrangler on my MAC.
In the XHTML, at every point I want to force a page break, I insert the following code:
<h1></h1>
In my CSS for the template I add the following code:
h1{
page-break-before: always;
}
Unsure if page-break-before or page-break-after is the better option. I'm still a NewB when it comes to ePubs so no doubt one of the gurus out there has a better fix, but like I say it definitely worked for me today.
|
page-break-before is fine. I have used this without problems on many eBooks and as I am not div happy I seldom use them. Others seem to use nothing else.
Dale