View Single Post
Old 08-31-2011, 06:26 AM   #9
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by charleski View Post
Using a line-height of 0 is often safe, but there are occasions where you can run into trouble. Look at the attached ePubs in ADE for an example.
In that case I would prefer adding margins to either the horizontal rule or the paragraph, but to each his own.

It would be nice if it were possible to assign a height to a <span>, but it is not. Or if inline-block were supported in the current spec, but it is not. Maybe an invisible, image can be used to force a height on the <span> without affecting the text leading... but that's too hackish.
Jellby is offline   Reply With Quote