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.
|