View Single Post
Old 04-26-2011, 11:28 AM   #5
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 698
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by Toxaris View Post
Still, I think that there goes something wrong during the export from CS3. Sigil will note 'invent' code. There must be something to work with.
Sometimes Sigil (or tidy?) will try to clean up the code. For example suppose I have

Code:
<h2 class="center"><b>Chapter 1</b></h2>
Sigil might change that to:

Code:
<h2 class="center sgc-1">Chapter 1</h2>
with a style element .sgc-1 { font-weight: bold}

added to the <head> of that file.

Which is fine for epub, but if I use kindlegen to convert to mobi, it will not recognize the multiple css selectors (i.e. class="center sgc-1")

... but I don't think that explains why the font family declarations are getting replaced.
st_albert is offline   Reply With Quote