![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jul 2024
Device: none
|
Blank pages in Epub when it is read.
I am just wondering if anyone has some words of wisdom about the blank pages issue in Epub readers? Is there anything in the code of the Epub you can add to prevent this phenomenon? It seems random on different Ereaders. No matter how clean the code is at the end of the section the blank page still appears when it is read with an Ereader. Thanks, Mattfr
![]() |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,216
Karma: 4949904
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Do you have a book you can share? If it is in copyright, you could scramble it before uploading.
|
![]() |
![]() |
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,711
Karma: 196949708
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Do you have any reason to believe Sigil lies at the root of your issue? Using Sigil to make a problematic epub does not necessarily make this about Sigil. Post some code samples and we might be able to rule Sigil out (or in). Otherwise, we're flying completely blind.
|
![]() |
![]() |
![]() |
#4 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,201
Karma: 132820308
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
This has nothing to do with Sigil. |
|
![]() |
![]() |
![]() |
#5 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,134
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
As JSWolf mentioned, it is more than likely some kind of overflow issue. Unfortunately, your coding could be perfectly correct but the reader device/app could be causing it's own issues...thus the randomness.
For example, if you have an image on a page that uses 100%, or 100vw/vh, that would be perfectly acceptable coding...But if the device/app calculates screen space and sets aside landscape for headers, footers, etc. the TOTAL area used would be greater than the screen...causeing the overflow and the extra blank page at the end. As Diap mentioned, we can't troubleshoot any further without something to work with...example coding and what devices you are seeing the problems with would help. Cheers! |
![]() |
![]() |
![]() |
#6 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,201
Karma: 132820308
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
For an image, use a bottom margin of 0. For the last paragraph, use a class that gives it a bottom margin of 0. Do you think these might work? |
|
![]() |
![]() |
![]() |
#7 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,134
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
I have these same issues even with a zero margin set on everything, that's why I mentioned that it could be caused by the device/app itself rather than anything the coding does. Hard to tell without seeing any of the coding.
|
![]() |
![]() |
![]() |
#8 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,201
Karma: 132820308
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I normally have blockquotes set with a 1em bottom margin. But when the blockquote is at the end of the chapter, I use a class to set the bottom margin to 0 so a blank page might not happen.
|
![]() |
![]() |
![]() |
#9 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,134
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
And that almost certainly helps, but the problem is still there even when ALL items have a zero margin. I’m pretty sure ONE of the issues is how (and in what order) the device/app allocates it’s reading space. That is completely independent of the coding. I’ll draw a picture of what I mean after I get home from work.
|
![]() |
![]() |
![]() |
#10 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,201
Karma: 132820308
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
DOCX --> EPUB: blank pages between most chapters | lcharnes | Conversion | 1 | 04-25-2021 12:10 AM |
Blank Pages EPUB Conversion | C_Gordon | Conversion | 3 | 04-19-2020 08:59 AM |
Blank pages on some pdf read with M92 | RotAnal | Onyx Boox | 16 | 06-04-2013 04:48 PM |
CHM to EPUB, blank pages | taita87 | ePub | 13 | 10-12-2012 02:10 PM |
Blank pages when opening this epub | ghostyjack | EPUBReader | 9 | 11-09-2010 11:49 AM |