![]() |
#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.
|
![]() |
![]() |
![]() |
#2 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,549
Karma: 19500001
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 | |
|
![]() |
#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.
|
![]() |
![]() |
![]() |
#4 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 557
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
|
|
![]() |
![]() |
![]() |
Tags |
font-family, unordered list |
|
![]() |
||||
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 |