Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-06-2015, 01:42 PM   #1
pypo
Member
pypo began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jul 2014
Device: none
"line-height" not working

Hi,

I can easily change the font sizes in my stylesheet, so I know that the CSS file is attached correctly to my files. The font change shows up in preview instantly.

However, changing the line-height in the stylesheet is ignored (doesn't show change in preview, doesn't show change in live CSS).

Does anyone else see this (bug maybe) or is there something I might be doing wrong?

Thanks.
pypo is offline   Reply With Quote
Old 04-06-2015, 02:08 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Perhaps it is being overridden somewhere else in the CSS hierarchy. Do you have any styles specified inline or in the <head>?

Is line-height also used in another CSS element with greater priority, anywhere?

Note: If so, it should still show up in Live CSS, but lower down.

Last edited by eschwartz; 04-06-2015 at 02:10 PM.
eschwartz is offline   Reply With Quote
Old 04-06-2015, 02:26 PM   #3
pypo
Member
pypo began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jul 2014
Device: none
Do your changes to the line-height parameter work? If yes, then that would eliminate my concern about a bug.
pypo is offline   Reply With Quote
Old 04-06-2015, 02:41 PM   #4
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,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
line-height: 2; /* default is 1.2 */

works for me

Typos before and sometimes after affect the render (ADE is notorious for tossing the entire sheet )

The biggie
Is the correct stylesheet properly linked
theducks is offline   Reply With Quote
Old 04-07-2015, 07:42 PM   #5
pypo
Member
pypo began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jul 2014
Device: none
Thanks theducks !

Notsure but I think there were some ; missing.
pypo is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Doghouse Diaries" and "PHD Comics" not working frakman1 Recipes 0 08-22-2014 11:32 AM
Defining Metadata with "calibredb add" command line function. macr0t0r Calibre 3 03-01-2012 07:36 PM
Feature Request: configurable space setting for "Insert blank line" in "Look & Feel" therealjoeblow Calibre 15 07-25-2011 03:14 PM


All times are GMT -4. The time now is 12:35 PM.


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