Thread: Font trouble
View Single Post
Old 04-01-2014, 07:14 AM   #18
TheArtfulDodger
Zealot
TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.
 
TheArtfulDodger's Avatar
 
Posts: 144
Karma: 155110
Join Date: Nov 2010
Location: Ashford, Kent, England
Device: Kobo Clara, Kobo Touch, Kindle, Nook Touch
Hello, All:

I am sorry for the extended absence but I have been busy adding and correcting my example css. However, thanks to two of Jackie_w's suggestions, I can say that I am making progress!
However, I cannot seem to make a Caption center itself. Here's the code I'm using:

CSS:
p {line-height:normal;}

.Caption {font-size:0.8em;font-family:'PT Sans Caption';text-align:center;line-height:normal;}

HTML:
<p class="Caption">A Centered Image</p>

It works fine in Sigil and in Calibre, but it is hard to the left on the Kobo! Here's what I use for a normal paragraph (works everywhere!):

CSS:
.Passage {font-size:1.00em;font-family:'PT Serif';text-align:justify;text-indent:5%;}

HTML:
<p class="Passage">He turned the corner.</p>

So, once again I am stumped. Any suggestions would be most appreciated!

Thanks in advance.

Sparky

Last edited by TheArtfulDodger; 04-01-2014 at 07:17 AM. Reason: Added a comment
TheArtfulDodger is offline   Reply With Quote