10-01-2012, 12:38 AM | #1 |
Enthusiast
Posts: 41
Karma: 12
Join Date: Jul 2009
Device: ppc
|
How to change the font-size in the body tag in css?
extra css before conversion
body { font-size: 0.8em; } WISH: stylesheet.css after conversion .calibre { display: block; font-size: 0.8em; margin-bottom: 0; margin-left: 5pt; margin-right: 5pt; margin-top: 0; page-break-before: always; text-align: left } but in fact, stylesheet.css after conversion .calibre { display: block; font-size: 1em; margin-bottom: 0; margin-left: 5pt; margin-right: 5pt; margin-top: 0; page-break-before: always; text-align: left } Why Calibre could not follow my purpose, just force the font-size as 1em? 1em in body tag is too big for me. Last edited by naisren; 10-01-2012 at 04:02 AM. |
10-01-2012, 02:46 PM | #2 |
Guru
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Can you post a simple file which shows this happening, and the conversion options that you used?
|
Advert | |
|
10-01-2012, 05:52 PM | #3 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
I believe controlling the font-size of the body css can be done by using the box Convert - Look&Feel - Base font size rather than Extra CSS. Would I be correct in thinking you have yours set to 12pt?
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to change font size and font style? | butterbescotch | Sigil | 20 | 09-06-2013 08:22 PM |
Touch Change font by editing ePub CSS | ExOblivione | Barnes & Noble NOOK | 8 | 12-25-2012 12:48 AM |
Change body text font from bld to normal | Jackdusty | Conversion | 4 | 03-17-2011 01:21 PM |
Can't change font or font size in ereaders | jmacg | Sigil | 30 | 10-23-2010 09:21 PM |
Change PDF body font size | ufasoli | 11 | 10-18-2009 11:05 AM |