Roger Roelofs wrote:
> 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?
> ... 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...
Based on that idea, I thought of negative z-indexing, but positioning
seems to be enough:
#gone3 { visibility: hidden; position:relative; }
and in Fx, the dragging of the img can be prevented with
#gone3 { visibility: hidden; position:relative; z-index:-1}
but I don't know if that is related to a bug, nor if it's possible to
get this img back ever.
Ingo
--
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/