|
|
#1 |
|
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: May 2012
Device: none
|
Any way to find orphaned styles?
Is there any way to find style classes that are present in the html pages, but are not defined in the stylesheet? I'm thinking specifically of overridden InDesign styles from print files, but this would be useful in a bunch of cases.
A forum search didn't yield any answers, but perhaps I didn't use the right terms. |
|
|
|
|
|
#2 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,956
Karma: 7500000
Join Date: Nov 2009
Device: many
|
Have you tried Sigil Reports?
There is a Classes in HTML Report that searches the html for class attributes creating a list with a field indicating if that selector was matched in a stylesheet. You can export it to CSV to examine in detail if so desired. It should be sortable on that field. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: May 2012
Device: none
|
I have not! Many thanks.
|
|
|
|
|
|
#4 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53,899
Karma: 182150167
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
You can also try the cssUndefinedClasses plugin which reports any styles in the html files that do not exist in a stylesheet or in the html file.
|
|
|
|
|
|
#5 |
|
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: May 2012
Device: none
|
Excellent. Covered on all fronts then! Thank you.
|
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Duplicate Orphaned Folders | nepentanova | Library Management | 5 | 12-06-2022 04:06 AM |
| Orphaned books | pwalker8 | General Discussions | 26 | 12-07-2020 12:10 PM |
| Orphaned apps on iOS6 | tomsem | Apple Devices | 25 | 10-20-2014 10:45 PM |
| Does Find in Edit Book work in styles? | Inferno | Editor | 4 | 08-01-2014 12:21 PM |
| Find/Replace Adds New Styles? | Rand Brittain | Sigil | 5 | 10-03-2011 10:01 AM |