Something like this Fiddle
<div class="leftnav">
<a>http:/google.com</a>
</div>
.leftnav a {color:black}
Pregunta
Im trying to turn the color of links in a div to white but only in that div in css. Ive tryed pseudo code as below any help woul;d be appreciated.
.leftnav : a {color:white;}
Solución
Something like this Fiddle
<div class="leftnav">
<a>http:/google.com</a>
</div>
.leftnav a {color:black}
Otros consejos
.leftnav a
{
color:white;
}
This is what you looking for!
.leftnav a { color: white; }
You put a ":" in there that didn't belong there.