|
|
#1 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 652
Karma: 1381150
Join Date: Aug 2010
Location: NE Oregon
Device: Sony 950, 350 & T1, SGP 5.0, Samsung Galaxy Note
|
Annoying extra blank pages
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 |
|
|
|
|
|
#2 |
|
Book Twiddler
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 958
Karma: 1087515
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. |
|
|
|
|
Enthusiast
|
|
|
|
#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.
|
|
|
|
|
|
#4 | |||||
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 652
Karma: 1381150
Join Date: Aug 2010
Location: NE Oregon
Device: Sony 950, 350 & T1, SGP 5.0, Samsung Galaxy Note
|
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. |
|||||
|
|
|
|
|
#5 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,138
Karma: 2474345
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon
|
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?
|
|
|
|
|
|
#6 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 552
Karma: 23783
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300
|
You might also want to check for any extra css that may add page-break to the body tags of the affected files.
|
|
|
|
|
|
#7 |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,699
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
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
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
![]() |
| 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 |