View Single Post
Old 07-21-2009, 04:19 AM   #66
AlexBell
Wizard
AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.
 
AlexBell's Avatar
 
Posts: 2,260
Karma: 3868800
Join Date: May 2008
Location: Launceston, Tasmania
Device: Kindle3, Kobo Touch, Sony PRS T3, Nexus 7, iPad mini
Quote:
Originally Posted by HarryT View Post
Wouldn't that insert a page-break at every paragraph? Apologies - I'm not terribly good at CSS!
Yes, I think it would. What works for me is to put it in the CSS like

div.section {
margin: 1em 0 0 0;
padding: 0;
page-break-after: always;
}

Where div.section is for chapters. So at the end of the chapter there is a page break.

Regards, Alex
AlexBell is offline   Reply With Quote