Quote:
Originally Posted by DNSB
Have you looked at the CSS of the ebook to see how the font-size is arrived at? Also note preview in the editor only uses that font size when the ebook CSS/inline styles do not define a font size.
|
I extract the .epub and open the chapter using my browser. I inspect the yellow highlighting part:
So I think this part of CSS is controlling the font-size:
code {
font-family: Courier, Courier New, monospace;
font-size: small;
}
So if I set "default font size" to 20 in the Calibre editor preview's settings, the font size of the "code" part will be smaller than 20?
---------
"Also note preview in the editor only uses that font size when the ebook CSS/inline styles do not define a font size."
I don't quite understand. Does the above "code" CSS qualified as "ebook CSS/inline styles define a font size"?
P.S. I uploaded the CSS and HTML to ch06.zip.