View Single Post
Old 12-20-2019, 11:53 AM   #13
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,978
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by PenguinCEO View Post
Maybe you're right, but this means that no device can handle the entire CSS standard. And therefore there is no possibility to really define a standard for ePub. Perhaps it would be appropriate to inaugurate a section in the MobileRead wiki that lists the HTML / CSS features supported by ALL devices, so that a publisher has a knowledge base to build really "standard" ebooks, which can be read by any device.
Good luck with that project. Given the way that the renderer creators tend to cherry pick the features they want to support and the wildly varying level of support for the various flavours of EPUB (EPUB2, EPUB3, EPUB3 FLO, etc.) along with some renderers that disregard most CSS in the epub, you will find that an epub ebook that can be read by any device and display the way the publisher wished is going to use a very simple layout.

I had hoped with the Readium project supplying the base code for most of the EPUB3 renderers that this Tower of Babel would be eliminated but so far, that does not seem to be happening.

I won't even get into the fun of attempting to support Amazon's mobi and KF8 formats with the same CSS though you do get used to multiple pages of media queries.

Edit: Out of curiosity, what happens if you embed your CSS stylesheets in the ebook and link them to the xhtml files rather than using the @import?
DNSB is offline   Reply With Quote