Quote:
Originally Posted by mcdummy
This gives the same result. When different elements/selectors use classes with the same name in the html, but only one of the classes is defined in the css, the report (both style classes and style rules) show that no unused class exist.
You have to go through all classes in the style classes report to check, if each class appearing in the html has a corresponding definition in the css.
I've now switched to Sigil. The Sigil report gives a better overview of the used/defined classes. So far, it does not provide an automatic deletion of unused classes, but there seems to be some work on implementing this tool.
|
After you remove all unused classes, you can see what was changed very easily. If you find something not to your liking, you can revert back before accepting the changes. You can then add the missing classes in the CSS and then remove the unused CSS once again.