Quote:
Originally Posted by GrannyGrump
@ebookreadr -- I think at least *part* of your line-break problem might be in the Nook itself, although Nook may have fixed their firmware by now. I remember a long discussion about spans and small-caps that might give you some clues
https://www.mobileread.com/forums/sh...d.php?t=232395
Take a look at post # 26 by Hitch for some discussion about the Nook trouble.
|
Thanks – the link provided me with addition things to try such as:
<small></small>
This did not work on the nook.
Quote:
Originally Posted by slowsmile
You could perhaps try including the following property in your p tag inline styling for the offending title line:
white-space: nowrap !important;
I have no idea whether this will work but maybe worth a try because it should prevent any breaks or newlines occurring anywhere on that smallcaps title line. The Importance modifier(!important) is there to prevent the editor from overriding the 'whitespace' property. I also have no idea whether 'whitespace' is a supported style property in epub html. Do it something like this:
Code:
<p style="whitespace: nowrap !important;"><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></p>
|
This did not work on the nook either.
I agree that the nook is the problem. I thought that I had seen successful examples in other epubs, but maybe it was just because the titles were short and did not go beyond one line.
Someone had also mentioned that using justification may be causing the problem, but I changed the document to left alignment and all the various methods still split.
I will keep my eyes open and if I find anything new or someone comes up with something else to test. I will let you know what happens.