Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-09-2012, 05:02 PM   #1
Gerlyn
Enthusiast
Gerlyn began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Dec 2011
Device: Ipad
Blank page before chapter

I am using Sigil to create an epub document. I have placed my content in seperate xhtml pages using sigils "chapter break". Works great and no added CSS code as I have seen in other threads that it can be done that way also. When I preview this in IBOOKS there is a blank page before every chapter. Each xhtml page starts and ends with its own body tag and html tag that Sigil creates when I create a new Chapter. Where do I look to correct this?
Gerlyn is offline   Reply With Quote
Old 02-09-2012, 09:49 PM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,473
Karma: 1053245
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by Gerlyn View Post
When I preview this in IBOOKS there is a blank page before every chapter.
Check and see in the CSS files that you don't have the page-break-before or page-break-after properties set for some tags. I can't remember but if you started with a calibre produced document it will add these to h1 tags.

Quote:
Originally Posted by Gerlyn View Post
Each xhtml page starts and ends with its own body tag and html tag that Sigil creates when I create a new Chapter. Where do I look to correct this?
This is how EPUB works. Each indvidiual xhtml file within the EPUB needs to be a fully valid (it's own html, head, and body tags) and independent document.
user_none is offline   Reply With Quote
 
Advertisement
Old 02-10-2012, 12:19 PM   #3
Gerlyn
Enthusiast
Gerlyn began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Dec 2011
Device: Ipad
I have checked my CSS file to confirm and there is no page-break code listed anywhere. I am creating an epub using Sigil by hand - not bringing anything in - handcoding the whole thing. I included the information about the document ending as it does to show I had no extra code there that might be causing the problem.
Gerlyn is offline   Reply With Quote
Old 02-10-2012, 02:54 PM   #4
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 2,997
Karma: 1285294
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
what happens if you preview it an Adobe Digital Editions, or in other epub software. could be an IBooks only issue ?

NB readers will begin a new page for each new XHTML file encountered, but should not add an extra blank page.
cybmole is offline   Reply With Quote
Old 02-11-2012, 05:38 AM   #5
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 2,700
Karma: 15513561
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by Gerlyn View Post
I have checked my CSS file to confirm and there is no page-break code listed anywhere. I am creating an epub using Sigil by hand - not bringing anything in - handcoding the whole thing. I included the information about the document ending as it does to show I had no extra code there that might be causing the problem.
The only time I ever see this is if an page-break-before:always code has snuck in there somewhere. Double-check your body div.

Hitch
Hitch is offline   Reply With Quote
Old 02-13-2012, 10:46 AM   #6
Gerlyn
Enthusiast
Gerlyn began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Dec 2011
Device: Ipad
This has now started to work properly. I shut everything off and rebooted my computer, deleted the epub from my itunes account and the ipad and reuploaded. It now is working properly with no extra pages. Don't have a real explanation for it, but now it is fixed. Thanks for your suggestions.
Gerlyn is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blank pages before chapter breaks on iPad? AlexBell Conversion 8 01-06-2012 10:49 AM
Page blank before and after book image page osiris12 Sigil 10 12-22-2011 10:34 AM
Blank first page spaze Writer2ePub 3 05-15-2011 12:41 PM
Blank page precedes Chapter One hollowayhouse Conversion 6 05-06-2011 07:40 PM
HTML to PDF, blank pages after each chapter ibarro Calibre 5 08-02-2010 04:08 PM


All times are GMT -4. The time now is 11:10 PM.


MobileRead.com is a privately owned, operated and funded community.