Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread Display Modes
Old Apr 18, 2012, 04:10 PM   #1
macrumors G4
nagromme's Avatar
Join Date: May 2002
Hit Back on iPhone; link :hover color still shown... but not on all sites?

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 youíll see.

How can I fix this in CSS? Iím stumped.

I think itís fixable, but I canít tell why some sites with :hover do not have this problem:

- (try the blue article links)
- (try the top tabs)
- The forums here! (try any linkóexcept, as I say, the top tabs)

(Iíve 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 donít want to throw Javascript at this problem.)

nagromme is offline   0 Reply With Quote

MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 06:28 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013,, LLC