Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 02-13-2012, 10:51 AM   #1
Derek R
Connoisseur
Derek R began at the beginning.
 
Derek R's Avatar
 
Posts: 87
Karma: 20
Join Date: Jun 2011
Location: County Down, Northern Ireland
Device: none
Default line-height in epubs

I am a relative novice to epub creation and I'm unsure if or how to set the line-height for a publication. My current thinking is to leave it out entirely and let the reading device use its default setting. Is this good practice or are there associated difficulties with it? Or should the line-height be set to:

line-height:inherit ?

What I am essentially looking for is the safest way to avoid line-height problems across the various reading devices.
Derek R is offline   Reply With Quote
Old 02-13-2012, 11:19 AM   #2
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: 5,972
Karma: 4346919
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
There shouldn't be any need to specify a line-height (besides, it's so dependent on the actual font being used, that I think it's silly), unless you are after some special effect (for example, I set "line-height: 0" in superscripts, to avoid uneven line spacing).
Jellby is online now   Reply With Quote
Old 02-13-2012, 11:23 AM   #3
Derek R
Connoisseur
Derek R began at the beginning.
 
Derek R's Avatar
 
Posts: 87
Karma: 20
Join Date: Jun 2011
Location: County Down, Northern Ireland
Device: none
Thank you, Jellby, that was my thinking too - but the tip about superscript is good - up until now I have been using square brackets to signify in text notes on my website to avoid that very line spacing problem.
Derek R is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Old Thread] Epub Output: Line Height greenapple Conversion 20 01-27-2013 09:27 AM
Advice about line-height Julien Pham Sigil 2 12-22-2011 09:05 AM
Problems with Line Height Formatting JohnnyRocks Conversion 4 02-20-2011 07:10 AM
changing text line-height in css wjcroft EPUBReader 0 12-15-2010 03:13 PM
Epub line height problem dorotie Calibre 5 08-24-2010 03:23 PM


All times are GMT -4. The time now is 11:47 AM.


MobileRead.com is a privately owned, operated and funded community.