Quote:
Originally Posted by Karellen
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.