12-28-2023, 09:23 PM | #31 |
Wizard
Posts: 1,611
Karma: 8399999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
With your words is enough Glad that what I posted was useful for you.
|
12-29-2023, 08:35 AM | #32 | |
Resident Curmudgeon
Posts: 76,960
Karma: 138588794
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
The problem is that @RbnJrg is using Chrome add-ons such as Readium and Chrome does not support % properly. That's why full screen covers failed with valid code. Most people will not be using Chrome add-ons to read ePub. Most will be using a phone, tablet, or Reader. |
|
12-29-2023, 09:54 AM | #33 |
A Hairy Wizard
Posts: 3,241
Karma: 19222221
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Vh and vw are acceptable Jon. Did you miss the whole section/dicussion of making sure there was fallback code??
|
12-29-2023, 12:25 PM | #34 |
Wizard
Posts: 1,611
Karma: 8399999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
That's right! The OP still has to write the code for epub2. Vh an vw belong to css2 but ADE 2.x does not honor those units. For heigth, is not possible to use % unless you first define the height of the container and, how do you do that? What do you use? Px, em? We don't know the size of the screen; for that reason vh saves the day, but ereaders based on RMSDK won't support it. Fortunatelly ADE 4.x supports viewport units.
|
12-29-2023, 12:29 PM | #35 |
A Hairy Wizard
Posts: 3,241
Karma: 19222221
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Aside:
Spoiler:
|
12-29-2023, 12:29 PM | #36 |
Wizard
Posts: 1,611
Karma: 8399999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
12-29-2023, 02:29 PM | #37 |
frumious Bandersnatch
Posts: 7,539
Karma: 19001081
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
12-29-2023, 04:08 PM | #38 |
Wizard
Posts: 1,611
Karma: 8399999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
12-29-2023, 04:11 PM | #39 |
Wizard
Posts: 1,611
Karma: 8399999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
12-29-2023, 04:27 PM | #40 | |
Wizard
Posts: 1,611
Karma: 8399999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Things are not analogous. When we defined a "%" for a width, we are referring to the width of the screen. But when we defined a "%" for a height. we are not referring to the height of the screen but we are referring to the height of the container. So, if you want to use "%" referring to the height of the screen, you need first to set the height of html and body of this way: Code:
html, body { height: 100%; } |
|
12-29-2023, 07:44 PM | #41 | |
Resident Curmudgeon
Posts: 76,960
Karma: 138588794
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
12-29-2023, 07:59 PM | #42 | |
Resident Curmudgeon
Posts: 76,960
Karma: 138588794
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
12-29-2023, 09:11 PM | #43 | |
A Hairy Wizard
Posts: 3,241
Karma: 19222221
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
If you don't like 95, then you could try 94.5 or 96.... |
|
Tags |
formatting, image, indesign, reflow |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Full-page image "floating" for responsive pagination. | Vanguard3000 | ePub | 15 | 10-01-2023 05:39 PM |
[Feature Request] Manage "Full Text" search | shuvashish76 | Library Management | 7 | 07-17-2022 12:54 AM |
Koreader doesn't respond to "page-forward" touch in reflow mode | doron | KOReader | 4 | 05-01-2016 10:27 AM |
Zune eBook Creator (RTextAsImage) - "Convert" text to images | oleg.shastitko | Reading and Management | 10 | 01-28-2008 02:18 PM |