View Single Post
Old 04-02-2020, 02:52 AM   #811
hengyu
Connoisseur
hengyu began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Aug 2016
Device: Kobo Libra Colour
Hi,

I have some ebooks which are full of weird inline CCS causing weird paragraphing and padding to occur. I edited the .azw3 files' CSS and overrode those, and they now appear correctly formatted.

p { text-indent : 1.5em !important }
span { padding: 0pt !important }


However when I convert the resulting .azw3 to .kfx, it would seem that the books go back to being weirdly formatted. Any thoughts?

Edit: Kinda fixed my problem by converting .azw3 to .azw3 first, Calibre flattens the inline-CSS into the stylesheet, and then I edited it manually from there

Last edited by hengyu; 04-02-2020 at 07:43 AM.
hengyu is offline   Reply With Quote