View Single Post
Old 09-04-2015, 11:11 PM   #5
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,191
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by Hoods7070 View Post
Thanks, Ducks.

However, Modify-EPUB (which I use) and Polish (which I don't, generally) both insert the jacket CSS exactly as provided by Calibre on the jacket page, not as a separate CSS sheet. IOW there are no multiple CSS files, just bog standard Calibre as you noted. I put a few (jacket modified) books into ADE3 (PC version) and it does the same thing. I have also installed half a dozen different ereaders and they all ignore the CSS. That is, the resource jacket CSS which Modify Epub and Polish both embed. I haven't fiddled further.

All the books I am using for my testing have been run through the Editor, any extant problems fixed. The only problem Editor finds is the inclusion of the webkit radius in the code, so I remove that. I don't know enough about html or CSS to know whether that has any bearing on anything.

I don't have RMSDK but have requested a trial copy.

Any other ideas? Anyone else encounter this problem?
  1. You can fix this in using the ebook editor by changing the inline style for jacket.xhtml from
    Code:
      <style type="text/css" media="screen">
    to
    Code:
      <style type="text/css" title="override_css">
    .
  2. Or you can using the editor make a new style sheet copy all the inline style from jacket.xhtml to the new stylesheet. Then cut all style information from jacket.xhml then add a link to the new stylesheet.
  3. Or just add all the inline style from the jacket.xhtml to the main stylesheet, remove the inline style from jacket.xhtml then add a link to the main stylesheet.

#1 is the quickest and easiest way to fix it.

Maybe submit a bug report to Kovid for polish ebook.

bernie
gbm is offline   Reply With Quote