EdwardMartinIII
Technical User
Hi!
I swear I used to know how to do this...
I have three DIVs and in each one, I want the links to perfom a little differently. (mostly just text color mods)
This is what's in the CSS:
Three classes and, supposedly, three different ways of handling anchors -- depending on which DIV contains them.
Trouble is, only the HeadMenu anchor calls work.
The anchors in the other two DIVs just go default (underlined blue), instead of what I'm trying to tell them.
Am I doing this right?
Thanks in advance!
Edward
"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door
I swear I used to know how to do this...
I have three DIVs and in each one, I want the links to perfom a little differently. (mostly just text color mods)
This is what's in the CSS:
Code:
.HeadMenu {
color:#faf0e6;
}
.Sidebar_Right {
margin-top: 30px;
padding-left:10px;
float: right;
border: ridge;
width: 250px;
color:#faf0e6;
}
.MainText {
margin-top: 30px;
padding:5px;
color:#663300;
background: #faf0e6;
float: right;
border: ridge;
}
#HeadMenu a:link {color:#faf0e6; background-color: #663300; text-decoration: none; font-size: 14pt;}
#HeadMenu a:active {color:#faf0e6; background-color: #663300; text-decoration: none; font-size: 14pt;}
#HeadMenu a:visited {color:#faf0e6; background-color: #663300; text-decoration: none; font-size: 14pt;}
#HeadMenu a:hover {color:#3478ff; background-color: #faf0e6; text-decoration: none; font-size: 14pt;}
#Sidebar_Right a:link {color:#ff00ff;}
#Sidebar_Right a:active {color:#ff00ff;}
#Sidebar_Right a:visited {color:#ff00ff;}
#Sidebar_Right a:hover {color:#ff00ff;}
#MainText a:link {color:#ffff00;}
#MainText a:active {color:#ffff00;}
#MainText a:visited {color:#ffff00;}
#MainText a:hover {color:#ffff00;}
Three classes and, supposedly, three different ways of handling anchors -- depending on which DIV contains them.
Trouble is, only the HeadMenu anchor calls work.
The anchors in the other two DIVs just go default (underlined blue), instead of what I'm trying to tell them.
Am I doing this right?
Thanks in advance!
Edward
"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door