View Single Post
Old 07-22-2010, 07:09 AM   #1
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: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
Problem with blank pages between chapters

I've just uploaded Lorna Doone, by R.D. Blackmore despite it having a problem in that it shows unnecessary and unwanted blank pages between chapters 37 and 38, and between chapters 74 and 75. I have no idea why it is doing this, and would be most grateful to anyone who can point out things that I can check to find out what is going on.

Because the book has 75 chapters I have grouped them in blocks of 10 chapters. Each chapter is formed on this template:

<div class="section" id="idno">

<h2>Section or chapter heading</h2><hr />

<p>Chapter material goes here</p>

<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam bibendum tempor nulla. Sed commodo. Aliquam feugiat lorem nec sem. Nullam consequat tristique libero. Suspendisse id erat. Duis ante sem, laoreet nec, nonummy non, posuere at, sapien. Nam porta. Cras sapien tortor, vehicula at, scelerisque quis, consequat at, enim. Fusce quis tortor. Quisque magna. Proin nunc. Phasellus purus metus, tempus a, lobortis in, mollis sed, erat. Nulla facilisi. Curabitur wisi.</p>

</div> <!-- End of chapter div; page break is in the CSS -->

and the CSS for section and page break is:

div.section {
margin: 0;
padding: 2em 0 0 0;
page-break-after: always;
} /* Sets top margin and page break for preface and chapters. */
div.section h2 { line-height: 110%; }

I can't see any way an extra page break from the CSS should occur where it does.

Can anyone help? It's probably staring me in the face but I can't see it and it's very frustrating.

Regards, Alex
AlexBell is offline   Reply With Quote