View Single Post
Old 08-21-2022, 10:43 PM   #60
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,125
Karma: 169815798
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
Delete the CSS with all the media queries. remove all unused CSS, drop all of the spans and divs with no classes. Also drop divs with the class header. Add in a CSs for h1 to fix the chapter headers, fix the class being used with p so it has a text-indent. Then the book is readable and looks good to go. Oh and also drop the letter spacing for small-caps.
Too much work to do that without deleting information that is needed to display the book as intended. My way is a minimum of work and does not affect the way the book is displayed.

Would I prefer to do a full rip and replace? Yes. Do I want to spend the time needed? Considering the person reading most of the Vellum created books is my wife and she does not care about the CSS or any other internals of the file? If it looks good on her screen, she's happy.

Quote:
Originally Posted by JSWolf View Post
That's a lot of a mess. What I would do is convert the eBook to ePub and fix it from there. I've done it before with eBooks from Arc Manor/Phoenix Picks as they use CSS with inline styles. It can be a real mess.
To put it mildly. I prefer to use the RemoveInlineStyles tool to do the cleanup and then go from there.
DNSB is offline   Reply With Quote