View Single Post
Old 02-22-2016, 01:27 AM   #17
DrewBoyd
Member
DrewBoyd began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2016
Device: Kindle Fire
When I tried it on just a space between words, it looks the same way as the screen grab with a very large space and the code view looks like this:

He escaped<i>&nbsp;</i>from the jail cell and...


The screen grab above is from the BookView within Sigil (for PC) but it also looks the same in the Sigil preview and when imported into Calibre.

The display font was set to Times New Roman. I downloaded the Mac version and it's doing the same thing.


I got the idea to try again with a <span> set-up and try setting the margins for the words like so:

span.italic {
margin-left: 0.35em;
margin-right: 0.35em;
font-style: italic;
}

This makes it display properly whether in left alignment or when justified. What I'm wondering is if there is any downside to doing it this way? I'm not opposed to this work-around if it won't cause any other troubles.
DrewBoyd is offline   Reply With Quote