View Single Post
Old 08-30-2011, 08:26 PM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,887
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Jellby View Post
It's easier:

Code:
<p><span class="cap">O</span>nce upon a time...</p>
with:

Code:
span.cap {
  font-size: 2.5em;
}
Code:
span.cap {
  font-size: 2.5em;
  line-height: 0
}
By adding in a line-height of 0 to the span.cap CSS entry, you'll prevent the first line of that paragraph from being moved away from the paragraph. It's a common error with a lot of publisher ePub. It works on ADE. It does not work in iBooks.
JSWolf is offline   Reply With Quote