You need to give the links classes (and if you want, ID's). On one of my sites I have declared this as the defualt style for my links:
Code:
a:Link, a:Active, a:Visited {
text-decoration: none;
}
a:Hover {
text-decoration: none;
background-color: #999999;
color: #FFFFFF;
border: 1px #666666 solid;
padding: 0px;
height: auto;
}
a {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
font-weight: bold;
color: #6699CC;
padding: 1px;
}
I don't want this for all the links though. This is the code for some other links:
Code:
#leftcol .fnav a {
background-color: #FFFFFF;
text-align: center;
font-size: 11px;
font-weight: bold;
}
#leftcol .fnav a:Hover {
color: #6699CC;
text-decoration: underline;
border: 0px;
}
#leftcol is the ID name I use for that area of the page (called by
<div id="leftcol">) and
.fnav is the class (I use other styles of links within the
leftcol ID). The
a means those styles apply to all the anchor tags and
a:hover is what happens when the links are hovered over.
I hope you understood that. If not, I'm sure I'll be able to explain what you don't understand (or someone else could answer of course :P).