zfranciscus
zfranciscus

Reputation: 17085

IE versus Firefox in displaying anchor color

I just notice a very odd behaviour in Firefox 3.5. I am running Firefox 3.5 under Ubuntu Jaunty Jackalope (9.04) and Windows XP.

When I open the following URL : http://www.w3schools.com/css/tryit.asp?filename=trycss_link2

Firefox renders the links in blue. When I open it with IE 6.0 it shows the links in 'red'.

According to the style sheet that the site uses:

<style type="text/css">
a.one:link {color: #ff0000}
a.one:visited {color: #0000ff}
a.one:hover {color: #ffcc00}

a.two:link {color: #ff0000}
a.two:visited {color: #0000ff}
a.two:hover {font-size: 150%}

a.three:link {color: #ff0000}
a.three:visited {color: #0000ff}
a.three:hover {background: #66ff66}

a.four:link {color: #ff0000}
a.four:visited {color: #0000ff}
a.four:hover {font-family: monospace}

a.five:link {color: #ff0000; text-decoration: none}
a.five:visited {color: #0000ff; text-decoration: none}
a.five:hover {text-decoration: underline}
</style>

These links should be displayed in 'red' (#ff0000). Is this a bug in firefox, or is this how the browser should renders the anchor according to the W3C standard ?

Cheers,

Upvotes: 0

Views: 1116

Answers (1)

Daniel A. White
Daniel A. White

Reputation: 190945

Try clearing your browser cache. Its in your history. If you change the :visited part to a different color, you will see the difference.

Upvotes: 2

Related Questions