I'm making a site with a menu and normal body area.
I want the menu text to be #ADC2D4, and to go to #296B9D when hovered on.
That's working fine.
Problem is, I can't get the normal main/body hyperlinks to work properly.
They should be #296B9D normally, and then go to #666666 when rolled over.
This works fine, until they're visited. When a visited link is rolled over, nothing happens!
Below's the CSS:
Code:
body {
margin-top: 0;
margin-left: 0;
padding-top: 0;
padding-left: 0;
color:#666666;
size:auto;
font-family:Arial, Helvetica, sans-serif;
}
.title {
color: #4F5F9D;
font-weight: bold;
}
.menu {
font-size:12px;
}
.menu a:link {
color:#ADC2D4;
}
.menu a:hover {
color:#296B9D;
}
a:link {
color:#296B9D;
}
a:hover {
color:#666666;
}
a:visited {
color:#ADC2D4;
}
.main {
size: auto;
font-family:Arial, Helvetica, sans-serif;
}
.main a:link {
color:#296B9D;
font-family:Arial, Helvetica, sans-serif;
}
.main a:hover {
color:#666666;
font-family:Arial, Helvetica, sans-serif;
}
.main a:visited {
color:#296B9D;
}
Thanks in advance to anybody who can help me with this tiresome problem!
|