Change link html color in a different div box?

Jared T

New member
The link color for the page is white, however, in the footer, i need it to be a shade of blue. How do i change this code to reflect that?

.footer {
float: left;
width: 971px;
text-align: center;
padding-top: 10px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #0058C2;
}
 
a is the element tag for anchor (links). Just add an a in front of the class for the div tag and all the a (anchors) in that section will take on this styling.

a.footer {
color: #0058c2;
}

And also add:

.footer {
float: left;
width: 971px;
text-align: center;
padding-top: 10px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}

to mark up the rest of the tag.
 
Back
Top