View Single Post
Old 01-31-2017, 12:10 AM   #1
ebookreadr
Enthusiast
ebookreadr began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Dec 2012
Device: nook
Small-caps Title keeps splitting

OK - I've given up trying to figure this one out..

Inside the story is a book title written in small-caps with a full sized 1st character. Here is my current coding:

code:
<span class="keeptogether">A<span class="smallcaps">N</span></span> <span class="keeptogether">A<span class="smallcaps">MAZING</span></span> <span class="keeptogether">B<span class="smallcaps">OOK</span></span> <span class="keeptogether">T<span class="smallcaps">ITLE</span></span>

The fonts look OK on my nook, but the words of the title sometimes split across two lines after the first character. Originally it had only the <span class="smallcaps">. Then I tried using the old <nobr></nobr> and that didn't prevent the splitting. I get that the current coding with</span></span> after the words sees the span classes individually and not as a unit - like:
<span1>x<span2>xxxxx</span1></span2>
instead of:
<span1>x<span2>xxxxx</span2></span1>

Any idea's how I can do this?
Thanks for any assistance.
ebookreadr is offline   Reply With Quote