coreybryant
asked on
Apply Pseudo-Classes to a Div
I have a div called main and I cannot remember how to write the code to apply a pseudo-class for links to that "main" div
Thank you,
main.a:link {
color:#000;
background-color: #fff;
}
main.a:visited {
color:#cc0000;
background-color:#ffcc00;
}
main.a:hover {
color:#ffff00;
background-color:#cc0000;
}
main.a:focus{
color:#cccccc;
background-color: #666666;
}
main.a:active {
color: #cc3300;
background: #ffff99;
}
I know that is wrong but I have tried a few variations with no luck.Thank you,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER