greenchilli
asked on
Safari weird invisible image anchor problem
I'm getting a weird problem with my menu rollovers in Safari.
Safari is displaying the image rollovers as invisible, but when you click and drag on the links - you can see the image.
Website:
CSS:
This problem doesn't occur in Firefox/IE8 and IE7.
Any help would be greatly appreciated.
Thanks,
Safari is displaying the image rollovers as invisible, but when you click and drag on the links - you can see the image.
Website:
http://flyingmusic.com.s84655.gridserver.com/
CSS:
http://flyingmusic.com.s84655.gridserver.com/wp-content/themes/Flying Music/style.css
This problem doesn't occur in Firefox/IE8 and IE7.
Any help would be greatly appreciated.
Thanks,
LOL never heard anything like this try and see if you have java installed or flash player.
ASKER
David,
Both Java and Flash are installed/enabled, I also tried Safari on another computer which had the same problem.
This is quite a weird problem!
Both Java and Flash are installed/enabled, I also tried Safari on another computer which had the same problem.
This is quite a weird problem!
Then it's unfortunately has to do with safari's lack of compatibility with certain scripts I guess.
ASKER
The dropdown menu is made up of css/html only, no script is being used to create it at all.
I didn't see a problem when compared to IE and FF.
Are you using an up to date version of all your browsers?
Have you validated your HTML/CSS code?
Are you using a reset?
Are you using an up to date version of all your browsers?
Have you validated your HTML/CSS code?
Are you using a reset?
#navmenu ul li a:hover img{
display:block;
z-index:999999;
}
Not sure, but it could be that safari does not understand a z-index that high. And anyway, why use such high numbers for z-index? You probably do not need a higher z-index than 10 to arrange things.
display:block;
z-index:999999;
}
Not sure, but it could be that safari does not understand a z-index that high. And anyway, why use such high numbers for z-index? You probably do not need a higher z-index than 10 to arrange things.
z-index doesn't apply to non-positioned elements. To make those elements be "positioned" give them "position:relative". And yes as sybe said, there's no need to use such a high z-index.
You should really consider providing alternate text for images for visually impaired people.
You should really consider providing alternate text for images for visually impaired people.
ASKER
Thanks for all the replies. The z-index wasn't always there, I had that put in to see if it would fix the issue, and you're right - the element needed to be positioned for that to work.
However, with or without z-index the problem still exists in Safari.
Browsers are all up to date, I'm using a reset and have tried on several computers - all works fine except Safari.
However, with or without z-index the problem still exists in Safari.
Browsers are all up to date, I'm using a reset and have tried on several computers - all works fine except Safari.
It worked when I tried it. Please add the position:relative and z-index declarations back in so we can see.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.