So, I'm diving into creating my very first website and I'm running into a little hiccup with the "a:hover" feature in CSS. No matter what I try, the links on my page stay the same color whether hovered over or not.
Here's a snippet of code from my CSS file that might be causing the issue:
/* styling for main page elements */
a:link
{
text-decoration: none;
color:black;
}
a:visited
{
text-decoration: none;
color:#CCCCCC;
}
a:hover
{
text-decoration: underline;
color:blue;
}
a:active
{
text-decoration: underline;
color:blue;
}
If anyone has any insights or tips on how to fix this, I would greatly appreciate it!
Thanks, Robert.