03-11-2017, 11:19 AM | #1 |
Autism Spectrum Disorder
Posts: 1,212
Karma: 6244877
Join Date: Sep 2011
Location: Coastal Texas
Device: Android Phone
|
Not Hjacking- Two Fonts, No Breaks
So based on what I read in this thread, I can use span tags in words to make small caps. Does it also work with two different embedded fonts?
For example, if I want to do a title where the capital letters are a variant of the same font with extra ruffles and flourishes. Making a new thread because I don't want to hijack, and my HTML skills are still about where they were the last time I posted. |
03-11-2017, 11:43 AM | #2 |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
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> |
Advert | |
|
03-11-2017, 11:52 AM | #3 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Go ahead and move the thread, theducks. It really is a general EPUB topic.
|
03-11-2017, 01:51 PM | #4 |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Moderator Notice
Moved from Sigil |
03-12-2017, 05:55 PM | #5 | |
A Hairy Wizard
Posts: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
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} |
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Style Sheet entry for a 'hanging' style | AThirstyMind | Kindle Formats | 6 | 12-10-2016 12:28 AM |
How to add alternate fonts without replacing system fonts.(this time this is a guide) | techiemonkey | Kindle Developer's Corner | 17 | 09-12-2012 04:55 PM |
Embedded fonts and inline style | paulfiera | Calibre | 4 | 02-26-2012 01:32 PM |
602 Problem with FBReader fonts, bold style | Major Tom | PocketBook | 16 | 01-04-2012 09:08 PM |
Mobi TOC style vs ePub style? | phearlez | Kindle Formats | 3 | 04-11-2010 06:35 AM |