Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS hover bug in IE 5.0 on a mac

Status
Not open for further replies.

sochanik

Programmer
Jul 6, 2001
7
GB
Has anyone noticed a bug in IE5.0 on a mac???? I've linked two different stylesheets to pages using a browsercheck:-

if(is.ns4)
{
document.write('<link rel=&quot;stylesheet&quot; href=&quot;../ns_nav.css&quot; type=&quot;text/css&quot;>')
}
else
{
document.write('<link rel=&quot;stylesheet&quot; href=&quot;../nav.css&quot; type=&quot;text/css&quot;>')
}

When I rollover text defined as the specific class in the anchor tag of the link, it doesn't rollover in IE5 on a mac, and in some cases just chooses some to rollover. Now this works fine in IE4 - 5.5 and NS6 on a PC and IE4 on a mac.

The text concerned is formatted in a table on a <div> layer.

Has anyone seen this before? Can anyone come up with a fix for it??
 
Just a couple of days ago I was having the same problem (also in IE5/Mac), only it was with text-decoration: none. Two of the links insisted on appearing with the underline.

I tested it on the PC side and it was fine, so I uploaded it to my server. Once it was on the server it worked fine in IE 5 on my Mac! It just doesn't work off my local hard drive, which makes NO sense.

Try that and see if it works for you.
 
I managed to sort it out, the rollovers were buggy in IE5.5 on a PC as well, which I thought was odd and also, one of the other style settings I'd used wasn't buggy at all. So I compared the working one with the buggy one and found that I'd included an :link style with the buggy class. I took this out and the class now works fine everywhere :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top