sabecs
asked on
Need help with CCS link colour in DIV
I have all links on my page within <div id="main_container"> set to red, however I would like to over rule this with white links and red hover if links are H2 tags?
<html>
<head>
<style type="text/css">
body{
background-color: #000;
}
#main_container a:link, #main_container a:active{
text-decoration: none;
color: #FF0033;
}
#main_container a:hover{
text-decoration: none;
color: #fff;
}
#main_container a:visited{
text-decoration: none;
color: #FF0033;
}
h2{
font-family: Verdana, Geneva, Arial, Helvetica-Normal, serif;
color: #f3f3f3;
font-weight: normal;
font-size: 20px;
}
</style>
</head>
<body>
</body>
<div id="main_container">
<a href="">TEST LINK</a>
<h2><a href="">TEST LINK</a></h2>
</div>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Your welcome...
ASKER