Tool to centralise css styles?
Hi folks,
I've got an epub that seems to have been created with or via Microsoft Word, and it has no single common CSS stylesheet. I'd like to edit some of the CSS but this is obviously a bit of a pain if you need to do it in a couple of dozen files. In this particular case, all the html files (with the exception of the cover page file) have the same identical 732 lines at the top of each file.
Is there a tool available that can take the common styles of multiple html files in an epub and "commonise" them into a single stylesheet and then insert a reference to that stylesheet into each html file?
I've also idly wondered about converting the epub to a different format (maybe mobi?) and then back to epub to see if that "fixes" things...
Thanks,
Simon.
|