Donate SIGN UP

More HTML

Avatar Image
simsfreq | 23:47 Tue 22nd Nov 2005 | Technology
4 Answers
Is there a netscape/mozilla friendly code for changing the colours of links, visited links and on mouseover?
Gravatar

Answers

1 to 4 of 4rss feed

Best Answer

No best answer has yet been selected by simsfreq. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
Yes, its the standard (i.e. proper) way to do it. Not with HTML, but with CSS:

add this to your html, in the head:

<style type="text/css">
a {
color: black;
}
a:visited {
color: red;
}
a:hover {
color: yellow;
}
</style>

I hope it's easy to understand ;)
Do a search for CSS tutorials, lots about.
Question Author
I'm using that code and it only seems to work in IE
no, it definitely works with mozilla browsers too. they're far more standards based than IE6 is. your problem is elsewhere.
-- answer removed --

1 to 4 of 4rss feed

Do you know the answer?

More HTML

Answer Question >>