View Single Post
Old 10-20-2015, 11:43 AM   #47
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,862
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by harriska2 View Post
JSWolf, do you know of a primer and tool for fixing these issues?
What I do with ePub is load it into the Calibre eBook editor and use the option to remove unused CSS classes. You'd be amazed at the amount of unused CSS entries there can be. Then it's a lot easier to look at the XML/CSS and clean up the mess (which I do by hand). When I find a find some code in the CSS I want to remove, I just do it with a search/replace because usually if it's not wanted in one class, chances are it's not wanted in all the classes it's in. If I make a mistake, I will still have the unmodified XML/CSS to refer back to.
JSWolf is offline   Reply With Quote