html - Set colour in CSS for link -
i trying set colour on link green unable work out. assistance appreciated!
the code:
<div id="column-2" class="col2"> <div class="off"> <h2 class="schoolproject" rel="column-2"> school project </h2> <div class="image">   </div> <center> <a id="test" href="projectone.aspx">project one</a> <br />
i trying the link "project one" green. can please advise should add in underlying css file?
.page-wrapper div.services-us-wrapper div.col2 div.test { color:green; }
thank you
p
your selector says div.test
but:
- there no divs member of
test
class - the anchor has id
test
you need write selector matches anchor.
replacing div.test
a
that.
Comments
Post a Comment