View Single Post
Old 03-12-2017, 05:55 PM   #5
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,361
Karma: 20212223
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by theducks View Post
This is really an EPUB question (I can move this thread for you)

Yes, that is a good use for a span

Code:
<h3 class="ct"><span class="sc">the stuff to sc</span> the rest of the text </h3>
I believe is the style for the Block level contains the overall style and the span(s), the exceptions to that.
If you want a different font for the capitals, then you would have to have a different <span> around them.

e.g.
Code:
<h3 class="ct"><span class="sc">T<span class="lowerSC">he</span> S<span class="lowerSC">tuff</span> T<span class="lowerSC">o</span> S<span class="lowerSC">c</span></span> the rest of the text </h3>

CSS:
.sc {font-family:"ruffles_flourishes"; font-size:1.1em; text-transform:uppercase}
.lowerSC  {font-family:serif; font-size:.9em}
Turtle91 is offline   Reply With Quote