different link styles?

liunx

Guest
Hi, how can I create different link styles within one css document? I'm sure this is possible, but I can't figure out how...

Thanks...
<style type="text/css">
a:link {color: blue;}
a:visited (color: violet;}
a:hover, a:active {color: red;}
a.nav:link {color: green;}
a.nav:visited {color: aqua;}
a.nav:hover, a.nav:active {color: yellow;}
</style>
</head>
<body>
<p>Here is a <a>normal link</a>.</p>
<p>Here is a <a class=nav>nav link</a>.</p>
...thanks! it works smooth as silk!
 
Back
Top