View Single Post
Old 01-23-2015, 03:25 PM   #2
pssquirrel
ebooknut
pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.
 
pssquirrel's Avatar
 
Posts: 297
Karma: 688154
Join Date: Oct 2011
Device: Kindle Voyage & Oasis
Quote:
Originally Posted by 1v4n0 View Post
...Calibre add its own classes, named "calibre" followed by a number. I don't like this (oh and btw, any idea on how to quickly get rid of them?
I don't have any insight into your main question, but re: generic Calibre classes:

Calibre seems to create a class for every element. I have found that if the element already has a class named, Calibre will respect that name and use it. But if there is no class named, Calibre will create one and call it Calibre1, Calibre2, etc. This happens with every element, including <body> <img> <i> <b> <br>, etc. If you want to avoid generic Calibre classes, add a class to every element: <body class="ebook"> <img class="picture">, <i class="italic">, <b class="bold">, etc.

Last edited by pssquirrel; 02-16-2015 at 10:53 PM.
pssquirrel is offline   Reply With Quote