Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 01-27-2013, 08:58 AM   #1
sunny1z
Enthusiast
sunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura about
 
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?
sunny1z is offline   Reply With Quote
Old 01-27-2013, 11:01 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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.
theducks is offline   Reply With Quote
Advert
Old 01-27-2013, 02:43 PM   #3
sunny1z
Enthusiast
sunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura about
 
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
}
sunny1z is offline   Reply With Quote
Old 01-28-2013, 12:43 PM   #4
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
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.
jackie_w is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 01:15 AM.


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