Set up your default styles to be appropriate for EPUB readers. Then add JavaScript
:
Code:
if (typeOf(navigator.epubReadingSystem) == "undefined") {
/* It's a browser. Add a new CSS stylesheet element dynamically. */
}
Readers that support only EPUB 2 won't load the JavaScript. Readers that support EPUB 3 and JavaScript will have an appropriate object there. So if you get into the body of that
if statement, the content is being shown by a web browser.