View Single Post
Old 04-21-2011, 11:27 AM   #4
mtrahan
Colonel Mustard
mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.
 
mtrahan's Avatar
 
Posts: 90
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPhone 6, Kindle Paperwhite 2, iPad 2
Thanks for your help. I guess I'll stick with my current file and clean it as I can. I don't know much about regex tools, so I'll just do as ATDrake suggested:
  • replace </b> <b class="calibre3"> with single space
  • replace <p class="calibre2"><b class="calibre3"> with <p class="calibre"> (which is the "basic" class in the stylesheet)
  • replace </b></p> with only </p>
  • etc.

I'll also keep in mind the tip about commenting out the parts of the CSS file I don't understand and which doesn't seem to do anything useful. Merci!

I appreciate the fast and friendly help—great forum!

Michael

Update: Just spent some time cleaning the book as you suggested, and it looks scarier than it is. It's actually very easy to do and in a couple of minutes the file looks MUCH better. I guess I should have tried that "find & replace" thingy way earlier... Thanks again!

Last edited by mtrahan; 04-21-2011 at 12:15 PM. Reason: Update
mtrahan is offline   Reply With Quote