View Single Post
Old 08-24-2019, 04:43 PM   #6
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,830
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by HHJT View Post
Hi,

Posted this on the Kobo forum yesterday.

When I give extra letter-spacing the space between letters gets larger, but the space between two words disapears, creating:

C H A P T E R O N E

Code:
<h1><span class="spacing">CHAPTER ONE</span></h1>

span.spacing {letter-spacing:5px}
I’ve tried span.spacing {letter-spacing:.25em} or including the spacing in the tag itself. Didn’t work.

Only my Kobo Glo does this, by the way. iBook and Calibre no problems...
On WebKit render engines, works fine. But as workaround, try using also the property "word-spacing". For example;

Code:
span.spacing {
    letter-spacing: 5px;
    word-spacing: 10px;
}
But of course, ADE (under epub2) doesn't support those properties so you'll be forced to use "&nbsp;" to simulate separations.
RbnJrg is offline   Reply With Quote