Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Font Color CSS

  1. #1
    New Coder
    Join Date
    Aug 2003
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Font Color CSS

    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:

    Code:
    .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
    Last edited by Goober; 01-20-2004 at 04:34 AM.

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    You only need to use color:#fff

  • #3
    New Coder
    Join Date
    Aug 2003
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    Last edited by Goober; 01-20-2004 at 07:33 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •