View Single Post
Old 09-27-2017, 08:25 AM   #55
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by davidfor View Post
Would you like to tell me which code makes it different? There is absolutely nothing in the kepub that isn't standard epub 2 or epub 3 code. Yes, they have standard Kobo CSS and if you remove that, the display will be different. But, anytime I have opened a kepub with another renderer, it is displayed in the way I would expect for that renderer.
I think the kobostylehacks CSS contained in the <head> section of each (Kobo bought) kepub HTML file has an effect on the look and feel in a standard epub rendering app, particularly the red bit:
Code:
<style xmlns="http://www.w3.org/1999/xhtml" type="text/css" id="kobostylehacks">
  div#book-inner p, div#book-inner div {
      font-size: 1em;
  }
  a {
      color: black;
  }
  a:link, a:visited, a:hover, a:active {
      color: blue;
  }
  div#book-inner * {
      margin-top: 0 !important;
      margin-bottom: 0 !important;
  }
  </style>
As already stated Modify Epub can remove this to restore the main CSS file's "style intent".

Last edited by jackie_w; 09-27-2017 at 08:27 AM.
jackie_w is offline   Reply With Quote