View Single Post
Old 07-15-2015, 01:35 PM   #10
steven522
binomial: homo legentem
steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.
 
steven522's Avatar
 
Posts: 1,061
Karma: 25222222
Join Date: Feb 2010
Location: Alabama, USA
Device: iriver Story HD; Archos 80 G9
Quote:
Originally Posted by DiapDealer View Post
Pretty easy to test if that's what's going on this case: Just remove the link to the css file from the html (before opening/importing), then open/add the html with sigil ... manually add the css file (the exact same one that was originally linked) using "Add File" ... link it to the html file and run the cleanup tool. If it still screws up, it's all down to the css file (or how the classes are defined in the html) itself. If it doesn't, then I'm confused as hell.
See original post. It works when manually adding the CSS file.

I tried opening the html with Sigil to automatically link the CSS and then under "link stylesheets" I unchecked the "include" to un-link the CSS from the html. Without closing, saving, or anything else I just turned around and re-linked the CSS and ran the check to remove unused classes and it works correctly.

The work-around would be to just uncheck/re-check the linked CSS.

Edit: Unlink, click [OK], re-link, click [OK].

Last edited by steven522; 07-15-2015 at 01:38 PM. Reason: Clarification
steven522 is offline   Reply With Quote