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:  http://icant.co.uk/sandbox/hiddenNotGone.html
>
> 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:
> http://icant.co.uk/sandbox/slide/examplePhotoListInlineSlideShow.html
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]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: