Quote:
Originally Posted by mcdummy
Basically, without differentiating between, for instance, p and div classes/selector/elements in the style file, the whole tool is pointless.
First of all, a p.center defintion has no effect on a div passages.
Secondly, if you have 100 <div class="center"> occurences and only one of <p class="center"> in the html and a style file that only has a definition for p.center but none for div.center, the tool would remove none of the 101 classes.
On the other hand, if you have 100 <div class="center"> passages and no <p class="center"> in the html and the same style file as above, the tool would remove all 100 classes.
|
It's not Calibre's fault you botched the CSS. <div class="center"> is going to do nothing because you don't have any class in the CSS for that.