02-27-2017, 01:01 PM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2017
Device: none
|
Unordered list not changing font
I am having a problem with lists in an epub. If I include a font-family (serif) in the css for the list <li> the font for the bulleted text will not change to the font selected on the reading device. If the <li> css does not include any font family the list acts as it should, i.e., it changes along with the rest of the text when I change the font in the device. I can remove all font family references for lists but I was just wondering why this occurs. Is it a bug of some sort? By the way, my stylesheet only has css for <h1>, <p>, and <li> and all of the text in contained in one <div> with no style attached to the div. The problem occurs in iBooks and Kindle.
|
02-27-2017, 01:17 PM | #2 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Does "font-family: serif" work anywhere else? It could very well be that the reading device doesn't match "serif" to the selected font but does something else.
|
Advert | |
|
03-03-2017, 12:48 PM | #3 |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2017
Device: none
|
Yes, serif works every place else. Just not inside the list. No matter what I change the reader font to, the font inside the list stays serif and also the same size. Go figure.
|
03-03-2017, 03:18 PM | #4 |
Fanatic
Posts: 554
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
|
|
Tags |
font-family, unordered list |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem changing font size using font size key | Waylander | Conversion | 0 | 10-02-2013 03:30 PM |
Can I prevent changing the fields directly in book list? | erpol | Calibre | 8 | 12-01-2012 03:40 PM |
Mobi unordered list style | framallo | Conversion | 1 | 03-23-2011 01:22 PM |
Changing Book List Order | dreamvision | Library Management | 5 | 02-08-2011 08:29 PM |
Changing Author List with Tweaks? | AutumnDreamer | Calibre | 3 | 01-17-2011 11:40 PM |