02-13-2012, 10:51 AM | #1 |
Zealot
Posts: 104
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. |
02-13-2012, 11:19 AM | #2 |
frumious Bandersnatch
Posts: 7,531
Karma: 19000001
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).
|
Advert | |
|
02-13-2012, 11:23 AM | #3 |
Zealot
Posts: 104
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.
|
|
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 |