How can I change the font color of my links when a user moves the mouse pointer over a link in Web Developer? Do I need a CSS to do that? If yes, what should be the content of the CSS?

Recommended Answers

All 2 Replies

add the followint into head section of your document as follows:

<style type="text/css">
<!--
a:link {
color: #006699;
}
a:visited {
color: #00FF99;
}
a:hover {
color: #CC0000;
}
a:active {
color: #3399CC;
}
-->
</style>

change the colors as you wish

if you need images instead of colors, ever, just do the same thing as above but replace "color.." with "background-image:url(urltoimage)"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.