Quote:
Originally Posted by jackie_w
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".
|
Of course it does. And that was my point. It is just normal code and removing it will mean the renderer will do something different. Which is exactly what I would expect. But, it isn't "kepub code", just code Kobo wants as standard. And plenty of publishers put their own standard code in to achieve some common affect. And a DIV wrapping the text in a chapter is pretty common.