I have a website where the main colour is white, so i have black hyperlinks but the footer of the site is black so hyperlink dont show up there, i am trying to overcome this with css. this is what i have done so far i made the footer have a span class: span class="footer and in the css i have this so far: .footer { background-color: #000000; color: #FFFFFF; font-size: 12px; what do i add to the code to get my hyperlinks white?? Please help...
Get rid of what you already have there and use this instead: .footer a { color:#ffffff; font-size:12px; } Code (markup): Change i have made is the 'a' after .footer which indicates that these styles are to be applied to any 'a' (anchor) element within footer. So you were very close with your attempt.