12-28-2023, 08:23 PM | #31 |
Wizard
Posts: 1,606
Karma: 8291219
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, 07:35 AM | #32 | |
Resident Curmudgeon
Posts: 76,310
Karma: 136006010
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, 08:54 AM | #33 |
A Hairy Wizard
Posts: 3,219
Karma: 19000635
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, 11:25 AM | #34 |
Wizard
Posts: 1,606
Karma: 8291219
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, 11:29 AM | #35 |
A Hairy Wizard
Posts: 3,219
Karma: 19000635
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, 11:29 AM | #36 |
Wizard
Posts: 1,606
Karma: 8291219
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
12-29-2023, 01:29 PM | #37 |
frumious Bandersnatch
Posts: 7,536
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
12-29-2023, 03:08 PM | #38 |
Wizard
Posts: 1,606
Karma: 8291219
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
12-29-2023, 03:11 PM | #39 |
Wizard
Posts: 1,606
Karma: 8291219
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
12-29-2023, 03:27 PM | #40 | |
Wizard
Posts: 1,606
Karma: 8291219
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, 06:44 PM | #41 | |
Resident Curmudgeon
Posts: 76,310
Karma: 136006010
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, 06:59 PM | #42 | |
Resident Curmudgeon
Posts: 76,310
Karma: 136006010
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, 08:11 PM | #43 | |
A Hairy Wizard
Posts: 3,219
Karma: 19000635
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 04:39 PM |
[Feature Request] Manage "Full Text" search | shuvashish76 | Library Management | 7 | 07-16-2022 11:54 PM |
Koreader doesn't respond to "page-forward" touch in reflow mode | doron | KOReader | 4 | 05-01-2016 09:27 AM |
Zune eBook Creator (RTextAsImage) - "Convert" text to images | oleg.shastitko | Reading and Management | 10 | 01-28-2008 01:18 PM |