Coloring Google's Search Field
Sitepoint Members,
The submit button below does have a blue background with white letters. I've been trying to get the field for the text blue and the text being typed white and I can't get it to those colors.
<form action="http://www......searchresults.html" id="cse-search-box">
<div><input type="hidden" name="cx" value="009478971803505951972:l1rvmz2xync" />
<input type="hidden" name="cof" value="FORID:9" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="text" name="q" size="44" title="Enter Terms" />
<input class="submit" type="submit" name="sa" value="Submit" /></div></form>
<script type="text/javascript"
src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
The last <input> is the submit button.
The second to last <input> is the field for typing in your search terms.
CSS:
input.submit{background-color:#3f3f7f;color:#fff}
I tried changing
<input type="text" name="q" size="44" title="Enter Terms" />
To
<input class="text" type="text" name="q" size="44" title="Enter Terms" />
for CSS
input.text{background-color:#3f3f7f;color:#fff}
but it didn't work. Is it possible to change that google text field?
Thanks,
Chris
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks