Quote:
Originally Posted by harriska2
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.