View Single Post
Old 07-22-2022, 04:26 PM   #3
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 782
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Sage
Quote:
Originally Posted by JSWolf View Post
The CSS from Standard EBooks is rubbish. They have no idea how to do is properly. KISS is the way to do it. They just want to use the most convoluted CSS they can. They even have some code in their CSS that causes RMSDK on Kobo to ignore the entire CSS. It was pointed out to them what the problem way, but they don't care.

I did take one of their book and instead of always trying to figure out what the CSS was doing, I just made simple CSS to do what needed to be done based on looking at the way the eBook displayed in Calibre's viewer.

Have a look at What exactly are Standard Ebook's "advanced epubs"? and when you get to post #34, download the eBook I posted and comoare the CSS from mine to theirs and you'll understand the problem.
Yep. That's what I've done. But, I'm wondering what your process was of converting from their formats to yours. Right now, I'm playing around with "The Woman in White" and it looks like all I have to do to get most of the way there is:
  1. Bulk delete all the classes in one of their stylesheets and replace them with mine
  2. Delete all their other stylesheets (and the links to them in the heads of each file
  3. Add my own class= lines in the few places that need it.

Yes, I still have all those <section>, <header> and <footer> things. But, they're out of the way from the actual text and I can work with that.
enuddleyarbl is offline   Reply With Quote