View Single Post
Old 03-26-2022, 04:42 AM   #757
koboread
Junior Member
koboread began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2022
Location: Shenzhen
Device: GLO HD
Thank you for your reply

:竖起大拇指: I may need to check the format of all my ePub contents, which may be the case in many cases. Is there any relevant tool to recommend quick cleaning?
Quote:
Originally Posted by DNSB View Post
I'm rather puzzled. What does your problem have to do with NickelMenu? As for your sample ebook, it's is a bit of a disaster. You have:
Code:
<style type="text/css" class="kobostylehacks">div#book-inner { margin-top: 0; margin-bottom: 0;}</style>
and:
Code:
<p class="calibre6" style="margin:0pt; border:0pt; height:1em"><span class="koboSpan" id="kobo.2.1">*</span></p>
Using a class tag inside a style tag is not a permitted function though you might try something like:
Code:
<style id="kobostylehacks" type="text/css">div#book-inner * { margin-top: 0 !important; margin-bottom: 0 !important;}</style>
<style type="text/css" id="koboSpanStyle">.koboSpan { -webkit-text-combine: inherit; }</style>
Since Kobo's firmware is not happy with Garbage In, I did some quick cleanup on the file and it seems to work on my Kobo. Could you try the attached file and see if it works?
koboread is offline   Reply With Quote