How do I change the text color in the Google search box?

Discussion in 'CSS' started by irideflatland, Mar 23, 2006.

  1. #1
    I just bought a template and I have been updating the homepage. I put a Google search box in, but the text is gray and hard to read. I found out that it's gray because in the default.css file it says
    body, th, td, input, textarea, select {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #C4C7B9;
    }

    If I change the color, it changes the search box text color, but it also changes lots of other text, like the main stuff. So how do I get just the search box text to be black?

    www.fpsgaming.us <<< Go see what I mean, the search box is on the right side.
     
    irideflatland, Mar 23, 2006 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    Add input {color: black; background-color: white;} and remove "input" from from
    
    body, th, td, [b]input,[/b] textarea, select {
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	color: #C4C7B9;
    }
    Code (markup):
    cheers,

    gary
     
    kk5st, Mar 23, 2006 IP
    irideflatland likes this.
  3. irideflatland

    irideflatland Banned

    Messages:
    515
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It worked, thanks :)
     
    irideflatland, Mar 23, 2006 IP