Quote:
Originally Posted by romanf
The original file has the DOCTYPE header and does not present any errors or warnings when opening with Sigil. Only the scrambled version does, because for some reason scrambling removes the DOCTYPE header.
|
FYI, scrambling removes the DOCTYPE because scrambling runs under calibre's rules/conventions and calibre never creates epubs with DOCTYPE.
... but back to your epub3. The Kobo Adobe renderer does not seem to like the 3 style rules containing the 'vh' unit, e.g.
Code:
h1 {
text-indent: 0;
font-family: "Times", serif;
margin: 30vh 0 2em;
text-align: center;
font-size: 1em;
font-weight: normal;
line-height: 2.5em;
}
'vh' is not something I ever use myself so I don't know what the best alternative is. However when I changed 'vh' to '%' (without the quotes) the epub3 behaved better on the Kobo.