View Single Post
Old 07-16-2022, 02:18 PM   #12
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 romanf View Post
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.
jackie_w is offline   Reply With Quote