Thread: Aura E2 Drop cap weirdness.
View Single Post
Old 04-13-2022, 06:28 AM   #22
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,172
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
Removing the class from the span or making the class in the CSS a do-nothing are effectively the same. My personal choice is to replace the entire span by using a simple regex in Sigil. Something like <span="dropcaps">(.*?)</span> with the replace being \1 (basically whatever the expression inside the brackets works out to, generally a "[A-Z] or [A-Z]. The next time I run Delete unused stylesheet selectors, the entry in the CSS stylesheet also vanishes.

As usual, many ways to achieve the same end. Whichever one you find easiest is the best choice for you.
I use Disp's Editing Toolbag for something like this.
JSWolf is offline   Reply With Quote