Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-01-2012, 12:38 AM   #1
naisren
Enthusiast
naisren began at the beginning.
 
Posts: 38
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.
naisren is offline   Reply With Quote
Old 10-01-2012, 02:46 PM   #2
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 651
Karma: 436517
Join Date: Jul 2010
Location: UK
Device: PRS-300, PW2
Can you post a simple file which shows this happening, and the conversion options that you used?
Agama is offline   Reply With Quote
Old 10-01-2012, 05:52 PM   #3
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,781
Karma: 3973173
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"
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?
jackie_w is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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 PDF 11 10-18-2009 11:05 AM


All times are GMT -4. The time now is 07:51 AM.


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