View Single Post
Old 03-24-2022, 09:31 AM   #15
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,171
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Karellen View Post
I am happy to read this. It is the argument I took when I first started editing ebooks a year and a bit ago, when I was still on my (persistent) learning curve.. "why do I need all this code?"

I asked a similar question in another thread of mine, why is everthing class= calibre1, calibre2, calibre3, calibre_1, calibre_2. It used to annoy me so I started to strip everything out and style the base tags in the css and only add a class when I needed something different to what the base tags were styled to.
Yes, that's the way to do it. The rule is to keep it simple. But some do not. The CSS used by Standard Ebooks is a right mess. There's a thread someplace here about it. I've had a look and even posted an eBook of theirs that I've cleaned up and the code in mine works in all cases where theirs not so.
JSWolf is online now   Reply With Quote