By Björgvin Guðmundsson
<style>
<!--
a:link { color: #000099; text-decoration: none;}
a:visited { color: #CCC; text-decoration: none;}
a:active { color: #666; text-decoration: none;}
a:hover { color: #000; text-decoration: underline;}
-->
</style>
What does it mean?
a:link = The default appearance of your text links.
a:visited = When the link has been clicked.
a:active = When the link is being clicked.
a:hover = When the mouse is over the link.
Now you can modify the color settings and the text decorations to fit your page.
Here are some decorations you can use:
- underline
- overline
- line-through
<style>
<!--
a:link {
color: #000099;
text-decoration: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8px
}
a:visited, a:active {
color: #CCC;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-size: 8px
}
a:hover {
color: #000;
text-decoration: underline;
font-family: Arial, Helvetica, sans-serif;
font-size: 10px }
-->
</style>
<style>
<!--
a:link {
color: #000099;
text-decoration:
none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8px
}
a:visited, a:active {
color: #CCC;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-size: 8px
}
a:hover {
color: #000;
text-decoration: underline;
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
background-color: #CCC }
-->
</style>
I hope this helps you figure out how to use this effect on your own page.
You can find more CSS tutorials at tutorialvault.net