View Single Post
Old 12-08-2011, 05:41 PM  
Lace
Too lazy to set a custom title
 
Lace's Avatar
 
Industry Role:
Join Date: Mar 2004
Posts: 16,116
Quick CSS question

Trying to change the font color of a link h2.

I guess the default "a" is taking over with another color.

I have
Code:
.sponsors h2 a {
	color:#FFF;
}
Then
Code:
<h2 id="sponsors"><strong>
<a href="#" title=" " target="_blank" class="sponsors">BLAH</a>
</strong></h2>


Should it be this?
Code:
a:sponsors {
	color:#FFF;
}
I know it's probably right in under my nose but I can't think straight right now.
__________________
Your Paysite Partner
Strength In Numbers!
StickyDollars | RadicalCash | KennysPennies | HomegrownCash
Lace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote