Thread: CSS mess
View Single Post
Old 04-11-2017, 02:33 PM   #22
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,058
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
Quote:
Originally Posted by DNSB View Post
In Sigil, under the Tools menu, Delete unused stylesheet classes. I generally run this after I have finished editing an ebook which involves replacing the existing stylesheet classes with my collection. If I need to re-edit it, I just copy and paste the master stylesheet. The cleanup takes about 3 seconds at the most. So far I haven't run into a used stylesheet class being removed.

I have run into a fair number of epubs where attempting to validate the stylesheet with W3C has failed. Quite a few of those give errors with either FlightCrew or epubcheck as well making me wonder about some publishers quality control.
I was thinking about later changes where they might want to fix or add something that would then require one of the removed stylesheet entries.
rkomar is offline   Reply With Quote