![]() |
#1 |
Member
![]() 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. |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
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. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() 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.
|
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,978
Karma: 60358908
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 ![]() |
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 17
Karma: 10
Join Date: Jul 2014
Device: none
|
Thanks theducks !
Notsure but I think there were some ; missing. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
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 |