View Single Post
Old 05-09-2015, 06:33 PM   #106
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: 80,083
Karma: 147983159
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I've dived into plenty of ePub and some are very easy to modify and some are not as easy. But they are mostly able to be modified using just the CSS.

Once you figure out the CSS enough, it becomes rather easy to fix things you want fixed.

The best way to start is to use Calibre to remove the unused CSS classes. This gets rid of all of those excess classes and leaves just what's being used.

I then go search for the classes used in the XML and fix them as needed. I do dump the <p class="somecrappyclass"> when all you need there is a <p> and fix p in the CSS. Then all the remaining classes are the ones I want to look at to see if they need modifying.
JSWolf is offline   Reply With Quote