Ok, problem number one, you can't nest selectors like that, change it to this format:
Code:
a.header:link { color: #FFFFFF; text-decoration: none; }
a.header:visited { color: #000000; text-decoration: none; }
a.header:hover { color: #fef72a; text-decoration: none; }
a.header:active {color: #46b238; text-decoration: none; }
a.body:link { color: #000000; text-decoration: none; }
a.body:visited { color: #000000; text-decoration: none; }
a.body:hover { color: #000000; text-decoration: none; }
a.body:active {color: #000000; text-decoration: none; }
That makes a psuedo class.
Now the second problem. You need to put the class designation inside the links themselves:
HTML Code:
<div><a class="header" href=''>Header Link</a></div>
<div><a class="body" href=''>Body Link</a></div>
|