View Single Post
Old 08-04-2022, 11:40 AM   #4
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: 79,796
Karma: 146391129
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 Turtle91 View Post
+1 to Sigil Clips

set your clip to: <span class="sc">\1</span>

They are very convenient - all you need to do is highlight the section and click on the clip. In your example I would definitely get away from using inline styling and set a class in your attached CSS style sheet.

Code:
css:
.sc {letter-spacing: 0.5pt; font-size: 1em; font-variant: small-caps;}

html:
<p>Phasellus nec <span class="sc">lorem dignissim</span>, sodales lorem ac, luctus nulla.</p>
I would do away with the font-size. It's not needed. Is there a reason for the letter spacing?
Code:
.sc {
  letter-spacing: 0.5pt;
  font-variant- small-caps;
  text-transform: lowercase;
}
JSWolf is offline   Reply With Quote