02-25-2011, 03:00 AM | #1 |
Wizard
Posts: 1,482
Karma: 11250344
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Forma, Kindle Oasis 2, Sony PRS-T2
|
Annoying extra blank pages
I'm working on a "personal use" epub I'm making from a scanned book, and mostly have it looking like I want. I'm no expert with CSS, but it looks OK in ADE and works on my Nook.
However, after certain pages, there is a single extra blank page following and I don't know why! It's happening after the preface page, the titlepage, the copyright page, the dedication page and the contents page. It happens on my Nook and also in ADE. It does NOT happen with any of the chapters. It does not happen after the cover page. Is there some code I am missing to end a single page item properly so this does not happen? Each of these pages (preface, titlepage, dedication, content) is a separate xhtml file, so I thought it would behave like the chapters and just go straight from one page to the next, without blanks in between. I just find it horribly annoying to see and have to turn past the blank pages, particularly after the dedication page, which consists of three words near the top of the page! Any idea how to stop this behavior and get rid of the extra blank page? If it's a code thing, examples would help. I'm not super techy... 50+ year old housewife. CSS is like a whole 'nother planet, but I'm trying to learn, at least in a basic way. Thanks for any help or ideas! P.S. Oh, it's late and maybe this would've been better in the epub forum? My bad... should not post when tired. Last edited by graycyn; 02-25-2011 at 03:41 AM. Reason: added sentence |
02-25-2011, 05:18 AM | #2 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Look in code view and see what code is at the point where it gives a new page. Delete some and save as a new document. See if it works. Repeat using original and save with new name each time until fixed. Just to make sure, save original in additional different place on your hard drive so harder to make mistake of saving over.
BTW probably the snow that has you flustered. |
Advert | |
|
02-25-2011, 12:30 PM | #3 |
Member
Posts: 23
Karma: 30
Join Date: Apr 2010
Location: Bay, AR
Device: iPad, Pandigital Novel, Kindle DX
|
It might be a line break. LIke mrmikel said, look at it in code view and see what it does. Line breaks are different than chapter breaks as they just leave a blank page, like in your situation, instead of making a whole new chapter.
|
02-26-2011, 12:23 PM | #4 | |||||
Wizard
Posts: 1,482
Karma: 11250344
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Forma, Kindle Oasis 2, Sony PRS-T2
|
Well, I had looked in the code view and the trouble is that I don't see anything untoward. And I've looked again and I still don't, but I'm a newbie to doing epub, so maybe there is something. I'll post examples.
Here, for instance, is what I have on the dedication page and other pages are pretty well the same, i.e. they end with a paragraph and the body and html tags. Which is exactly the way the chapters all end as well, only the problem doesn't happen there. The single difference that I'm noting is that a class is assigned for the last paragraphs on the problem pages, where chapter pages are ending with strictly <p></p> tags, no class assigned. Quote:
Quote:
Quote:
Quote:
Which gave me the idea to try ending the problem pages with a blank paragraph, as in: Quote:
Last edited by graycyn; 02-26-2011 at 12:28 PM. |
|||||
02-26-2011, 01:30 PM | #5 |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Hmm... that markup should not be adding any blank page. There could be spurious pagebreaks at the beginning of some chapters, though. Is the Nook so stupid as to add a blank pages so that chapters start at odd-numbered (right) pages?
|
Advert | |
|
02-26-2011, 02:10 PM | #6 |
Guru
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
You might also want to check for any extra css that may add page-break to the body tags of the affected files.
|
02-26-2011, 03:55 PM | #7 |
Well trained by Cats
Posts: 29,703
Karma: 54369092
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Graycyn
? Is there a Stylesheet entry for div { I noticed that the problem area starts or ends with a <div> or </div> That div may have padding, margin or other attributes that cause a blank PAGE |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unwanted Blank Pages | Dontfeedbaboons | Sigil | 6 | 07-10-2011 10:12 PM |
Help with Blank Pages in iBook | WyattsTorch | Workshop | 2 | 03-11-2011 10:16 PM |
Troubleshooting one after another blank pages | monsterbadgog | Amazon Kindle | 0 | 02-20-2011 04:02 PM |
Extra blank pages | Paddlin | Workshop | 4 | 12-17-2010 11:40 AM |
Blank pages | JSWolf | Calibre | 4 | 11-29-2008 01:22 PM |