Quote:
Originally Posted by dwanthny
I find this to be true. I convert all of my books in calibre and set font size scaling during the conversion. Afterwards no matter what I specify in the body of my css nothing happens.
|
Calibre conversions use
<body class="calibre"> and in the CSS Calibre has
font-size: 1em;. So what happens is that your font-size in body fails. What you could try is to add in a calibre class with just a font size. So you'd have the same font size in body body and calibre. But there could be other CSS directives changing the font size. I see a lot of ePub where the font size is set in other classes. So for example, you have
<p class="tx"> and in the CSS, you have under .tx
font-size: small;. Annoying I know and nothing you can do about it other then trying the most common classes publishers use and setting font sizes there. If the classes in your overriding CSS aren't used, it won't be an issue.
Some common CSS entries to put in your font-size...calibre, tx1, tx, indent, noindent, body, p