Quote:
Originally Posted by JSWolf
I do like your idea of different CSS for ePub2 or ePub3.
|
The best thing is that works

If the ereader device can't read the javascript that links the css3 stylesheet to the xhtml files, then it means that is only an epub2 ereader and the css3 code never is loaded; in that case you have a perfect epub2 ebook

On the other hand, if the javascript can be executed, then it means that we have an epub3 ereader, the css3 stylesheet is linked and the css2 classes are overwritten; you have a perfect epub3 ebook. Two epubs in only one ebook; the best of both worlds.