07-16-2022, 03:39 PM | #16 | ||||||
Member
Posts: 12
Karma: 10
Join Date: Jun 2022
Device: none
|
Quote:
Quote:
Quote:
The thing is, I have other files with the 'vh' unit that work. For example: Quote:
Quote:
Quote:
Any thoughts on that? Anyway, thanks for the great help! |
||||||
07-16-2022, 04:02 PM | #17 | ||
Grand Sorcerer
Posts: 6,216
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
On a Kobo the newer-style CSS may have a better chance of working as kepub than epub, but I'm not sure whether anyone has ever done a detailed analysis of exactly what works and what doesn't. |
||
07-16-2022, 04:39 PM | #18 |
Resident Curmudgeon
Posts: 76,031
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I don't use vh because I read mostly with RMSDK on Kobo and it doesn't work.
Code:
.fr { display:flex; flex-direction:column; justify-content:space-between; height:90vh; } Question I have is what in the .fr class will work with KePub other then the height line? |
07-16-2022, 04:44 PM | #19 |
Member
Posts: 12
Karma: 10
Join Date: Jun 2022
Device: none
|
I can't tell right now if it works or not, but at least it doesn't crash like in the h1 example.
I'm ok with it not working if there's no support for it, but at least it should display the file with or without supported css properties. |
07-16-2022, 04:45 PM | #20 | |
Member
Posts: 12
Karma: 10
Join Date: Jun 2022
Device: none
|
Quote:
|
|
07-16-2022, 04:46 PM | #21 |
Resident Curmudgeon
Posts: 76,031
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
But what is "fr" supposed to do in this ePub?
|
07-16-2022, 04:50 PM | #22 | |
Member
Posts: 12
Karma: 10
Join Date: Jun 2022
Device: none
|
Quote:
Autor name on top, title in the middle, and editor name in the bottom. |
|
07-16-2022, 05:37 PM | #23 |
Grand Sorcerer
Posts: 6,216
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
07-16-2022, 06:02 PM | #24 |
Resident Curmudgeon
Posts: 76,031
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
But if the CSS is not supported, what is it you are missing or what's not displaying as it should? Also, if RMSDK finds an error in the CSS it will ignore the entire CSS. The error doesn't have to be an error. It could be some ePub 3 code that RMSDK thinks is an error.
|
07-16-2022, 06:28 PM | #25 | |||
Member
Posts: 12
Karma: 10
Join Date: Jun 2022
Device: none
|
Quote:
Quote:
The one with the vh on the h1 class crashes only on the Kobo e-reader. The other files don't crash, but I'm not sure they display as intended on every device/app. Quote:
I'm sorry if this is too confusing. Thanks for helping me identify the problem! I'm just trying to deepen my understanding of this issue. |
|||
07-16-2022, 07:07 PM | #26 |
Resident Curmudgeon
Posts: 76,031
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Have you converted this eBook to KePub with Calibre using the KoboTouchExtended driver?
|
07-17-2022, 03:46 PM | #27 |
Bibliophagist
Posts: 39,781
Karma: 154147706
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
For what it's worth, removing the vh properties and replacing them with em allows the scrambled ebook to display on my Sage using the RMSDK renderer. Converting original epub to kepub either by a simple rename (not recommended) or by using kepubify or calibre with the KoboTouchExtended driver allows the resultant kepub.epub to work happily using the WebKit based renderer on my Kobo Sage.
BTW, when I tested the original scrambled files with Sigil and it's renderer options, Thorium and several other apps, the display was not consistent between them. The vh property worked on some and on others, appeared to be disregarded with the h1 and h2 being displayed at the top of the viewport while the h3 did maintain it's margins. One antique program was also unhappy with the shortcut margins (it needs either margin ww,xx,yy,zz or using the margin-top, bottom, left and right forms) Please note that simple renaming is a quick and dirty hack for testing and is not recommended by Kobo as it can and will cause text selection and other issues. Either kepubify or using the KoboTouchExtended driver will modify the original epub to more closely match a Kobo supplied kepub. And also remember that like all renderers, Kobo's renderers do not implement the full epub3.x specification. There a test page (www.epubtest.org) where the compliance of various renderers were rated though I'm uncertain as to when the last updates to the site were made. Last edited by DNSB; 07-17-2022 at 04:10 PM. Reason: modify comments about epubtest.org. |
Tags |
crash, kobo, sigil |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vexing error in EPUB file created in Sigil | pstjmack | ePub | 7 | 08-02-2016 12:47 PM |
ePub created with Sigil : empty when loaded with Calibre | jpomart | Calibre | 12 | 12-12-2015 01:48 PM |
epub created with Sigil invisible on iTunes | IAmGrammy | Apple Devices | 6 | 11-01-2013 06:13 PM |
Errors in ePub Created in Sigil | FlooseMan Dave | Sigil | 12 | 08-25-2010 08:01 PM |
Cover problems with Sigil files (again) | crutledge | Calibre | 3 | 06-16-2010 12:06 PM |