I remove all CSS lines that use inherit as I find they actually have no use. Lines with auto also go and in most cases so do line-height. justify: left also goes. I also remove silly font sizes that are 1em or smaller. Any px or pt I convert to em. And thee % for spacing I change to a more reasonable em. The only % I leave is for hr and images.
There can be a lot of garbage in CSS of commercial eBooks. There can even be more then 100 unused CSS classes. That's why I always use the option to get rid of extra CSS. It ets rid of extra CSS in styles and HTML.
I also combine multiple CSS into one because I find multiple CSS to be a bad idea.
When I am done, I have fairly clean CSS and fairly clean HTML. So it makes finding any issues that much easier. Plus, I have the eBook formatted rather well and it's easy to then use the margins, line height and font and font size settings as desired.
|