![]() |
#1 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jan 2016
Device: none
|
Blank pages after cover image in epub file
Hi all,
Hope this is the right forum. I used Sigil to create an ebook. I've gotten everything looking and acting like I want EXCEPT the cover image. I opted to put one in my kindle version, even though I know they always open on chpt 1. Anyway, the problem is this: In Sigil, everything looks normal. When I convert to mobi using the Kindle previewer, I get two blank pages when I move from htm section #2 toward the cover image. I get one blank page when I move back toward section #2. This holds true for all kindle devices in the previewer. When I use ADE, there are no blank pages between the cover and the next page, but I get a blank page for Page #1 and a blank page immediately after my TOC. (I've just started looking at this with ADE today, but my focus is on the Kindle application) I've scoured the internet and see all kinds of confusing reasons for this, none of which I can find here. The only thing that comes close is the possibility that the cover image is too large (bleeding over) and may be creating page breaks? Here are a few sections of the code I've used. Top (1st) section in Book Browser: <?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Cold Currents</title> </head> <body> <div> </div> </body> </html> Cover (2nd) html file: <?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Cover</title> </head> <body> <div style="text-align: center; padding: 0pt; margin: 0pt;"> <svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 1716 2626" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink"> <image height="2626" width="1716" xlink:href="../Images/Cold_Currents_front_cover.jpg"/> </svg> </div> </body> </html> Third file down in Book Browser (section0002.htm): <?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Cold Currents</title> <link href="../Styles/Style0001.css" rel="stylesheet" type="text/css"/><link href="../Styles/Style0003.css" rel="stylesheet" type="text/css"/></head> <body> <div> <h4>ALSO BY BYRON SUGGS</h4> <p> </p> <p><b><i>Rockapocalypse</i></b></p> <p> </p> <p><b><i>Anything But</i></b></p> </div> </body> </html> Parts of Content.opf pertaining to cover: dc:date> <dc ![]() ![]() <dc:rights>All Rights Reserved</dc:rights> <meta content="Cold_Currents_front_cover.jpg" name="cover" /> <meta content="0.7.4" name="Sigil version" /> </metadata> <manifest> <item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml" /> <item href="Images/image001.jpg" id="image001.jpg" media-type="image/jpeg" /> <item href="Images/image002.jpg" id="image002.jpg" media-type="image/jpeg" /> <item href="Text/Section0036.htm" id="Section0036.htm" media-type="application/xhtml+xml" /> <item href="Images/Cold_Currents_front_cover.jpg" id="Cold_Currents_front_cover.jpg" media-type="image/jpeg" /> <item href="Text/cover.xhtml" id="cover.xhtml" ********************************************* idref="Cold_Currents_Suggs_KindleFormat_2015A.htm" /> <itemref idref="cover.xhtml" /> <itemref idref="Section0002.htm" /> <itemref idref="Section0003.htm" /> <itemref idref="Section0004.htm" /> <itemref idref="Section0005.htm" /> <itemref idref="TOC.xhtml" /> <itemref idref="Section0006.htm" /> <itemref idref="Section0007.htm" /> <itemref idref="Section0008.htm" /> <itemref idref="Section0009.htm" /> <itemref idref="Section0010.htm" /> <itemref idref="Section0011.htm" /> <itemref idref="Section0012.htm" /> <itemref idref="Section0013.htm" /> <itemref idref="Section0014.htm" /> <itemref idref="Section0015.htm" /> <itemref idref="Section0016.htm" /> <itemref idref="Section0017.htm" /> <itemref idref="Section0018.htm" /> <itemref idref="Section0019.htm" /> <itemref idref="Section0020.htm" /> <itemref idref="Section0021.htm" /> <itemref idref="Section0022.htm" /> <itemref idref="Section0023.htm" /> <itemref idref="Section0024.htm" /> <itemref idref="Section0025.htm" /> <itemref idref="Section0026.htm" /> <itemref idref="Section0027.htm" /> <itemref idref="Section0028.htm" /> <itemref idref="Section0029.htm" /> <itemref idref="Section0030.htm" /> <itemref idref="Section0031.htm" /> <itemref idref="Section0033.htm" /> <itemref idref="Section0034.htm" /> <itemref idref="Section0035.htm" /> <itemref idref="Section0036.htm" /> </spine> <guide> <reference href="Text/cover.xhtml" title="Cover" type="cover" /> <reference href="Text/TOC.xhtml" title="Table Of Contents" type="toc" /> </guide> </package> What can be causing these blank pages? Any suggestion would be appreciated. If I had hair it would be in tuffs around my feet. ![]() |
![]() |
![]() |
![]() |
#2 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jan 2016
Device: none
|
Rubeus, please explain. I didn't think I had anything in my 3 ext Stylesheets that dealt with or would affect the cover image?
|
![]() |
![]() |
![]() |
#4 |
Unicycle Daredevil
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,944
Karma: 185432100
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
|
I don't know if that is what Rubeus meant, but you should check how many instances of "page-break-before: always" or "page-break-after: always" you have, and see if removing any of them makes a difference. It's the most likely culprit, I guess.
|
![]() |
![]() |
![]() |
#5 |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
What is the purpose of the "first section," please? A blank page, prior to the cover? What is that intended to do?
Hitch |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 82
Karma: 25684
Join Date: Sep 2014
Device: Kindle NT
|
Try remove:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
![]() |
![]() |
![]() |
#7 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,029
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#8 |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil adding blank page after cover image | ebookn00b | Sigil | 32 | 06-20-2013 01:44 PM |
Blank pages in PDF file on M92 1.8 firmware | johey | Onyx Boox | 11 | 11-02-2012 06:07 AM |
CHM to EPUB, blank pages | taita87 | ePub | 13 | 10-12-2012 02:10 PM |
iPad I found the uwnated blank pages before and after for each full-page image on iPad. | Vengadesan | Apple Devices | 1 | 07-07-2011 01:23 AM |
Blank pages when opening this epub | ghostyjack | EPUBReader | 9 | 11-09-2010 11:49 AM |