How to style Google's search bar?

BrandontheGreat

Links @ helpmyrank.com
Aug 24, 2008
866
4
18
everywhere
I recently signed up for a custom Google search engine and I want to style the search box they provide (the same one used in AdSense). I'd like to add a border around the search box, change the search button, etc.

Anyone know how I can achieve this?
 


Example:

<input type="text" name="search" id="google_search" />

Next, go to your css file and add:

#google_search {
background: {color};
border: {digit}px solid {color};
}

Google "Styling input fields" for more info.

Styling Form Inputs with CSS
 
You're the man.

But what if this is the code:

Code:
<input type="hidden" name="cx" value="007293297816093995062:ex6b1aurmes" />
    <input type="hidden" name="cof" value="FORID:10" />
    <input type="hidden" name="ie" value="UTF-8" />
    <input type="text" name="q" size="23" value="Search Date Unknown" />
    <input type="submit" name="sa" value="Search" />