01-27-2013, 08:58 AM | #1 |
Enthusiast
Posts: 33
Karma: 4350
Join Date: Jan 2013
Device: Kobo Glo
|
Line height. - preferred css settings
In some of the ePub files I have there is a fixed line height setting.
Do you know how to get rid of it? What extra CSS can I add? Do you have preferred CSS settings for your reading experiences? |
01-27-2013, 11:01 AM | #2 |
Well trained by Cats
Posts: 29,799
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I hand edit the CSS in the end.
T(weak) , explode the book, locate and edit the CSS with Notepad++, click rebuild. or edit with Sigil. I have noticed that you do need a line-height: <value> if the book uses any different size letters in the block. |
Advert | |
|
01-27-2013, 02:43 PM | #3 |
Enthusiast
Posts: 33
Karma: 4350
Join Date: Jan 2013
Device: Kobo Glo
|
do you know how to override the fixed line height settings in calibre.. with an extra css code or so?
.colofon { color: #000; display: block; font-size: 0.64516em; font-style: normal; font-variant: normal; font-weight: normal; line-height: 1.2; text-align: left; text-decoration: none; text-indent: 0 } |
01-28-2013, 12:43 PM | #4 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
On the Convert - Look&Feel page on the Filter Style Info tab (in the middle of the page) you should be able to type line-height into the Other CSS Properties box. I think ALL occurrences of line-height will be removed which may or may not cause other aesthetic problems.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Line height insanity! | Kamikuza | Conversion | 6 | 10-24-2012 11:56 PM |
Minimum Line Height being ignored for MOBI | yanathin | Conversion | 2 | 10-05-2012 03:24 PM |
Advice about line-height | Julien Pham | Sigil | 2 | 12-22-2011 09:05 AM |
Incorrect line-height property in calibre CSS ? | Bertrand | Calibre | 2 | 06-24-2011 04:15 PM |
changing text line-height in css | wjcroft | EPUBReader | 0 | 12-15-2010 03:13 PM |