View Single Post
Old 04-10-2008, 02:32 PM   #1
Moonraker
Addict
Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.
 
Moonraker's Avatar
 
Posts: 314
Karma: 1002965
Join Date: Mar 2006
Location: UK
Device: ILiad. Gen 3, PocketBook 360, Kobo Aura HD, Kindle Oasis 2
Use two fonts in imp files?

I have a book in which there are lots of paragraphs representing a dream in the storyline.

I want to use a different font for these so they are noticeable.

However, as eBook Publisher does not recognise font-family names -- only serif or sans-serif -- I have used serif in the main body and sans-serif in the "dream" paragraphs.

My problem is getting the "dream" paragraph text to increase or decrease when selecting the zoom option.

The main body text does this but I cannot work out what I am doing wrong with the "dream" text.

In my html code I have a class set up for the "dream" text as follows:

.dream { font-family: sans-serif; font-size: 13pt;}

If I omit the font-size then the text appears too large.

I can get it to zoom if I use font-size: xx-small, small, medium etc but the text is far too large even using xx-small.

Is this a bug or is it me?
Moonraker is offline   Reply With Quote