06-05-2011, 05:40 PM | #1 |
Browser
Posts: 745
Karma: 578294
Join Date: Apr 2010
Location: Australia
Device: Kobo Touch, Kobo Aura HD
|
Why are my ePubs "Block protected"?
Can anyone help me understand what's happening here, please?
My reader seems to have a habit where, if a paragraph won't fit entirely on the screen, it inserts a soft page break and pushes the para over to the next screen. It means the bottom third to half of the screen is often blank. I'd rather it simply went to the bottom and then broke to the next page, like a printed book does. But where's this behaviour coming from? I can't find anything in the CSS code that does it - does such a thing even exist in CSS? - but my reader uses ADE to display books, so is it one of those hard-coded secret behaviours in ADE? |
06-05-2011, 06:18 PM | #2 | |
Resident Curmudgeon
Posts: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
There is a very simple way around it. Put the following into the body element in the CSS... Code:
widows: 0; orphans: 0; In fact, here is one of the body elements I use... Code:
body { font-family: "Charis SIL", serif; widows: 0; orphans: 0; margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0; text-align: justify; font-size: 95% } Last edited by JSWolf; 06-05-2011 at 07:43 PM. |
|
06-05-2011, 06:34 PM | #3 |
Browser
Posts: 745
Karma: 578294
Join Date: Apr 2010
Location: Australia
Device: Kobo Touch, Kobo Aura HD
|
Fantastic! Thanks, JSWolf.
|
06-05-2011, 07:41 PM | #4 |
Resident Curmudgeon
Posts: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
06-06-2011, 04:08 AM | #5 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
JSWolf's explanation is good if you are seeing only 1-2 blank "lines" at the bottom of a screen. However, I believe what you are seeing is a different quirk of ADE, when a paragraph is very long, it just gets pushed to a new page, and in some cases you can even see a pagebreak in the middle of a long paragraph. This behaviour is not controlled by CSS, and it's probably just a limitation of ADE.
|
06-07-2011, 05:18 PM | #6 | |
Resident Curmudgeon
Posts: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-650 Anyone knows how to fix the random "protected by DRM" message? | nekron | Sony Reader Dev Corner | 1 | 01-19-2011 08:23 AM |
PRS-900 Overdrive and "protected page" error? | asjogren | Sony Reader | 3 | 07-18-2010 11:17 AM |
"Protected Page" w/ADE on mac | lkodk | Sony Reader | 8 | 05-20-2009 05:12 PM |
Getting "Protected Page" Message when reading unprotected PDFs | skoobwoman | Sony Reader | 7 | 11-26-2008 07:14 PM |