Quote:
Originally Posted by rjwse@aol.com
You are right. Most CSS in books is simple and minimum. I am pushing the extremes of fanciness, as much as I can, but it comes at a price of garishness.
When you ask calibre to remove unused code, I think it leaves alone any line with multiple items, so long as at least one of them is being used:
div, ol, p, ul, .class1, .class2 {whatever}
So far as I can tell, it will not remove any of the above so long as one of them is in the book. It would be great if it could remove the dead-wood items from a list.
Best regards, Pop
|
That is one reason why I don't like listed classes. never have and I don't create listed classes. I have taken some listed styles and separated them so the ones not used could be dumped.
Some publisher CSS is not simple. It can be a bit of a mess. Bit it's not setup to need a specific order most of the time.