View Single Post
Old 01-05-2011, 07:55 AM   #1
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
epub to mobi - losing highlights ?

I have an epub text with code like:
Code:
Hello, my name is <span class="docEmphMark">Ben</span>.
in epub readers, the word Ben is highlighted. ( i've used bold in this post for simplicity )

Hello, my name is Ben.

but when calibre converts to mobi all highlighting is lost

e.g. that line then reads as:
Hello, my name is Ben.

is this a bug, a config issue or a mobi limitation ?

exploding epub & looking at css: docemphmark is defined with background-color: #999
Code:
.docEmphMark {
    background-color: #999
    }
so is that an unsupported mobi function. what could I edit that bit of the CSS to, so that mobi would display as intended ?

Last edited by cybmole; 01-05-2011 at 08:04 AM.
cybmole is offline   Reply With Quote