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, 09: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, 12:01 PM   #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: 15,054
Karma: 5936659
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 offline   Reply With Quote
 
Advertisement
Old 01-27-2013, 03: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, 01: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,877
Karma: 4200035
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
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-25-2012 12:56 AM
Minimum Line Height being ignored for MOBI yanathin Conversion 2 10-05-2012 04:24 PM
Advice about line-height Julien Pham Sigil 2 12-22-2011 10:05 AM
Incorrect line-height property in calibre CSS ? Bertrand Calibre 2 06-24-2011 05:15 PM
changing text line-height in css wjcroft EPUBReader 0 12-15-2010 04:13 PM


All times are GMT -4. The time now is 10:38 PM.


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