View Single Post
Old 07-03-2020, 02:43 AM   #14
mcdummy
Connoisseur
mcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the rough
 
mcdummy's Avatar
 
Posts: 73
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
Quote:
Originally Posted by theducks View Post
Tools: Reports: Look at Style Classes and Style Rules
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.

Last edited by mcdummy; 07-03-2020 at 03:06 AM.
mcdummy is offline   Reply With Quote