I can't seem to style the link color inside of a Div and have no idea why not.
<div class="home-testimonial">Be sure to <a href="http://www.example.com">Click Here</a> for more info.</div>
I have tried styling it with ALL of the following CSS tags:
a.home-testimonial,
a.home-testimonial:link,
a.home-testimonial:hover,
a.home-testimonial:active,
a.home-testimonial:visited {
color:#E7BA7F;
}
.home-testimonial a:link,
.home-testimonial a:visited,
.home-testimonial a:hover {
color: #E7BA7F;
}
Neither way works.
It is instead using the color for the general a tags (defined earlier in the style sheet).
When I look at the inspector in firefox, the color: #E7BA7F; is crossed out.
Aren't a links supposed to inherit the styles from their parent Divs?