On iOS, when you tap a link, the CSS :hover color shows for a moment (which is nice).
But if you then tap the Back button, the same link is shown in :hover color without you even having to touch it. Annoying! Especially for major navigation buttons. MacRumors top navigation tabs show this problem: tap to another tab, hit Back, and youll see.
How can I fix this in CSS? Im stumped.
I think its fixable, but I cant tell why some sites with :hover do not have this problem:
- CNN.com (try the blue article links)
- Apple.com (try the top tabs)
- The forums here! (try any linkexcept, as I say, the top tabs)
(Ive heard of people using body onunload to de-focus all links as you leave a page. But none of the three sites above seem to do that. So I dont want to throw Javascript at this problem.)
TIA!
But if you then tap the Back button, the same link is shown in :hover color without you even having to touch it. Annoying! Especially for major navigation buttons. MacRumors top navigation tabs show this problem: tap to another tab, hit Back, and youll see.
How can I fix this in CSS? Im stumped.
I think its fixable, but I cant tell why some sites with :hover do not have this problem:
- CNN.com (try the blue article links)
- Apple.com (try the top tabs)
- The forums here! (try any linkexcept, as I say, the top tabs)
(Ive heard of people using body onunload to de-focus all links as you leave a page. But none of the three sites above seem to do that. So I dont want to throw Javascript at this problem.)
TIA!