View Single Post
Old 05-12-2013, 03:33 AM   #1
spotrick
Junior Member
spotrick began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2009
Location: Adelaide, South Australia
Device: iPhone, iPad, Kobo
How can I hide some things from ereaders

This is more complicated than it sounds. I have some components of my ebooks that are there purely for readers using a browser. E.g. navigation at the end of a chapter. In an ePub ereader, or a Kindle, these components are redundant, so I'd like to be able to hide them.

I can use CSS display:none; -- but then I'd need to use a different stylesheet for epub than for the web.

So I'm wondering if there's a CSS hack that can be used that would only be seen by a web browser, but be ignored by epub readers. Kind of like the hacks used to make older versions of IE work.

Anyone know of any usable hacks?
spotrick is offline   Reply With Quote