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

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
Grand Sorcerer
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: 14,282
Karma: 5495472
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
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 online now   Reply With Quote
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
Wizard
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: 2,710
Karma: 3818505
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:51 PM.


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