Previous Message
Next Message

Annoying Safari issue - hidden links with images still clickable

Sent by Roger Roelofs on 17 March 2006 11:11

On Mar 16, 2006, at 4:35 PM, Christian Heilmann wrote:

> I just realised a really annoying Safari bug:
> If you have an image inside a link and you hide the link via
> visibility:hidden the link is still clickable.
> Demo Case:
> Is there a way around this issue - is it known?
I don't see any indication of it in googling.  The only workaround I 
can think of is to add another object and position it over the links.  
Interestingly enough, when I drag the link in safari, the image becomes 
visible.  In firefox, I can select the link/image by clicking on it, 
but when I copy and paste it, I don't get the image, but the dot next 
to it.

> The reason I am using visibility is that I don't want the forward and
> backward links to jump:
I tried switching from visibility: hidden; to display: none; and i 
seemed to work fine in this case, but I can imagine scenarios where it 
would cause other elements to shift.

I don't have any good fix, but maybe adding data points will trigger 
someone else's brain cells.

Roger Roelofs
"Remember, if you’re headed in the wrong direction,
	God allows U-turns!"
	  ~Allison Gappa Bottke
css-discuss [EMAIL-REMOVED]]
IE7b2 testing hub --
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread: