ClioSport.net

Register a free account today to become a member!
Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • When you purchase through links on our site, we may earn an affiliate commission. Read more here.

Very quick eaasy css question



Right,

I want my links on my footer in white, because the footer is black

But then in the content the background is white so they arent being displayed, I just want them in black in the content div.

Can someone please amend this correctly:

a:link {
color: #ffffff;
}

.content a:link {
colour: #000000;
}

thanks :)
 
I have a webpage

The content div is a white background , therefore white links (text) wont appear so I want them as black

The footer div is black background, so the links I want white.

the code:

a:link {
color: #ffffff;
}

the above makes every link on the page white, but im not quite sure how to specify a link colour solely for my content div.

kapishe?
 


Top