View Single Post
Old 05-26-2016, 03:59 PM   #48
Doonge
Connoisseur
Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.Doonge ought to be getting tired of karma fortunes by now.
 
Posts: 80
Karma: 1184732
Join Date: Nov 2013
Device: Kobo Glo
Quote:
Originally Posted by GeoffR View Post
If the line-height of the raise-cap is set to zero then it works even if the user sets the line spacing below 1. e.g.
Code:
span.raise-cap {
  font-size: 3em;
  line-height: 0;
}
p.opening-para {
  text-indent: 0;
  padding-top: 2em;
}

<p class="opening-para"><span class="raise-cap">T</span>his raise-cap doesn't affect the line-height of the paragraph.</p>
Wow it's even better!

Are there some problem you encounter with this?
Doonge is offline   Reply With Quote