View Single Post
Old 12-08-2011, 06:23 PM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,137
Quote:
Originally Posted by Lace View Post
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.
The way you have that coded you just want (I think):

.sponsors
{
color:#FFF;
}

Hey I can still edit this... damn. Not changing anything, just adding I am not a css expert in any way shape or form. I solve issues like this by throwing in an inline style and moving on.



.
__________________
All cookies cleared!

Last edited by sarettah; 12-08-2011 at 06:32 PM..
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote