View Single Post
Old 05-17-2011, 02:42 PM   #1
elmago79
Member
elmago79 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jun 2010
Device: PRS-300
Problem with epub to mobi? Everything is monospace

I'm trying to convert a book from epub to mobi, but in the kindle all the fonts are monospace. In my epub, I have a CSS body declaration like this:

Code:
body
    {
    font-family: Georgia, Garamond, serif, sanserif, monospace;
    }
As far as I can tell, this is perfectly valid. However, Calibre wraps <tt> tags (that's what I see in the Inspector), so I only get monospace fonts. If I instead use:

Code:
body
    {
    font-family: Georgia, Garamond, serif;
    }
The mobi output is correct.

So I would like to ask you whether this is a bug or if maybe I'm doing something wrong (my bet is that I'm doing something wrong).
elmago79 is offline   Reply With Quote