Quote:
Originally Posted by DNSB
And even sadder is where there are masses of classes in the CSS stylesheet(s) that are not used matched by a mass of classes in the HTML/text files that are not defined. One ebook when I ran CSSRemoveUnusedSelectors (a Sigil plugin) removed 382 classes from the 2 stylesheets. Removed the 100+ undefined classes from the HTML/text files was a matter of search and replace. One of the reasons the creators of Vellum have earned a spot of my "may they burn forever" list. I mean things like the <body> tag having 3 undefined classes (<body class="content layout-paginated layout-vellum"> while body in the CSS stylesheets was:
Code:
body {
font-family: Palatino, Malabar, Merriweather, "Droid Serif", serif;
}
|
InDesign > ePub can be a right mess as well. I've cleaned up a number of them. Then there are the ones that do have CSS yet they do stupid things like <p class="someclass" style="text-indent: 5%">.
Of corse there is Phoenix Pick who make really awful eBooks. The code under the hood looks like Mobi threw up.
And then we also get the worst of Word where there is not a style in sight and all kinds of crap in the code that doesn't belong in eBooks.
These "house" CSS can be ridiculous with the amount of unused CSS. But there doesn't need to be any unused classes in the HTML.