View Single Post
Old 06-26-2011, 08:57 PM   #1
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 426
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
Question 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.
snarkophilus is offline   Reply With Quote