Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

link class being ignored in ie - working in firefox

4:15 pm on Feb 8, 2005 (gmt 0)

10+ Year Member


i am using a navigation bar at the top of my pages that has been designed with CSS and java (thanks to gazingus).

I have set it up so that visited links have no decoration and do not change colour in the navigation, as opposed to the main body of text where they do behave as normal links.

i.e. a:visited {.......normal behaviour
and a.actuator:visited {.......no changes to appearance

this works fine in firefox (gotta love it!)

but in internet explorer, for some reason, it ignores the 'a class="actuator"' and uses my normal link rules. (gotta... errr... not love it!)

any ideas?

many thanks,


5:13 pm on Feb 8, 2005 (gmt 0)

10+ Year Member

I had a problem similar to this. To solve it I moved away from classes and to ID tags. As a simple example to your ploblem:

<style type="text/css">
#actuator a{
text-decoration: none;
<p id="actuator">
<a href="#">Actuator link</a>
<a href="#">Normal link</a>

where the <p> tags are you could use anything <table> <div> etc.

5:28 pm on Feb 8, 2005 (gmt 0)

10+ Year Member

thanks Soave,

unfortunately I am already using an id tag on the top navigation links so if I am not mistaken I cannot use another? (anyway I tried and it didn't work - but maybe I did something wrong)


5:32 pm on Feb 8, 2005 (gmt 0)

10+ Year Member

Could you post your relevant HTML and CSS code?
5:49 pm on Feb 8, 2005 (gmt 0)

10+ Year Member

hi Soave,

thanks again for trying to help but i'm going to be lazy on this one - if IE wants to use my a class, i'll let it and use a new a.new class for the purposes of the original a class.

Hope that makes sense!