You can have your links be any color or style and, in fact, have 2 different links on the same page be different styles is you use pseudo-classes.
You'll need to define your links like this:
.style1 {
background-color: transparent;
color: #000;
font-size: 100%;
font-weight: normal;
font-family: Arial, Helvetica, sans-serif;
}
a.style1:link {
background-color: transparent;
color: #00f;
font-weight: bold;
text-decoration: underline;
}
a.style1.visited {
background-color: transparent;
color: #800080;
font-weight: bold;
text-decoration: underline;
}
a.style1:hover {
background-color: transparent;
color: #f0f;
font-weight: bold;
text-decoration: underline;
}
a.style1:active {
background-color: transparent;
color: #f00;
font-weight: bold;
text-decoration: underline overline;
}
Then use div tags to enclose the text housing your links:
<div class="style1"><a href="
class="style1">Your text here</a>
Create a whole new set, like the above, but substitute another name for "style1". Change the link colors in the styles:
.style2 {
background-color: transparent;
color: #000;
font-size: 100%;
font-weight: normal;
font-family: Arial, Helvetica, sans-serif;
}
a.style2:link {
background-color: transparent;
color: #900;
font-weight: bold;
text-decoration: underline;
}
a.style1.visited {
background-color: transparent;
color: #900;
font-weight: bold;
text-decoration: underline;
}
a.style1:hover {
background-color: transparent;
color: #00f;
font-weight: bold;
text-decoration: underline;
}
a.style1:active {
background-color: transparent;
color: #ffc;
font-weight: bold;
text-decoration: underline overline;
}
And, of couse, create a new link using this style:
<div class="style2"><a href="
class="style2">Your text here</a>
...and you have two links on the same page with different styles. HTH
Dennis
--
Dennis Hays\HaysDesign
Dennis Hays, Publisher
mailto:dhays@haysdesign.com