...

View Full Version : Font Color CSS



Goober
01-20-2004, 04:32 AM
How do I set a font color using CSS? So far the only thing that has worked for me is puting a different font attribute like font size in a selector and then puting color: #FFFFFF after it. Here is an example of this:


.CSS_CLASS {Font-Size: 13px; Color: #FFFFFF}

I tried using {Font-Color: #FFFFFF} but it didn't work. Is there code similar to "Font-Color" so I don't have to Use something like "Font-Size" before I declare the font color?

Thanks,
Goober

Nightfire
01-20-2004, 05:33 AM
You only need to use color:#fff

Goober
01-20-2004, 05:51 AM
That dosn't actually answer my question haha, but that dosn't matter because I found out what I was doing Wrong, and it has nothing to do with declaring font size or anything like that. I was sersioulsy confused. Sorry for the extreamly confusing quesition haha



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum