Quote:
Originally Posted by PenguinCEO
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?