Quote:
Originally Posted by foosion
The editor has a function to remove unused CSS rules. Is there a function to remove undefined classes from the html files? If not, is there a reason such a function would not be a good idea?
|
If there are classes in the HTML that are not used, they will be removed. If they belong to a <div> or <span> the <div> and/or <span> will be left empty. I cannot see the reason for the empty <span> but you may want to keep the empty <div> if it surrounds an <img>.
You can use Diaps Editing Toolbag to remove empty <div> and <span>.