ok, since it is Thanksgiving, I'll give you a little CSS lesson.
If you look at the generatec code for a page that has a search widget in the sidebar, you find html like this
HTML Code:
<div id="search-2" class="widget widget_search">
<div class="widget-title">
<h3>search</h3>
</div>
<form method="get" class="searchform" action="http://mydomain.com/">
<table class="searchform" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="searchfield">
<input type="text" class="text inputblur" value="" name="s" />
</td>
<td class="searchbutton">
<input name="submit" value="Search" type="image" src="http://mydomain.com/wp-content/themes/atahualpa344/images/magnifier2-gray.gif" style="display: block; border:none; padding: 0 0 0 5px; margin: 0;" />
</td>
</tr>
</table>
</form>
</div>
This is the HTML that makes up the search box. Knowing this you can now create CSS Selectors and rules to style it. Let's say you want to make the title (which is the word 'Search') a pretty blue. If you look at the HTML, you wil see that the word 'Search is an <h3>. You need to write a CSS Selector to reference this <h3>. While you could write
HTML Code:
h3 { color: #00FFFF; }
that would change EVERY <h3> blue, in this case you only want to make the <h3> that is part of the search widget blue, so you have to be more specific with the CSS selector. Loking at the HTML, you can see that the <h3> is enclosed by a <div..></div> but that div sports a 'class=widget-title'. While you could use this, it would also cause any other widget with a <h3> in a <div class="widget-title"> to turn blue too (say that three times fast)
So looking deeper at the HTML, you can see there is another <div..> surrounding the header and form that has a class="widget_search", so you can use this to effect only search widget <h3>'s. so you would code your CSS Selector as
HTML Code:
div.widget_search h3 {
color: #00FFFF;
}
Note that using this will effect ALL search widgets, if you only want to effect THIS search, you would have to use the ID in the CSS Selector, so you would have
HTML Code:
div#search-2 h3 {
color: #00FFFF;
}
(you use a '.' when referencing CLASS's and a '#' when referencing ID's)
Here are some more CSS selectors and rules to affect the rest of the search widget - but don't blame me for the color combination, I'm just demonstrating how to do it (grin)
HTML Code:
.searchfield input {
color: #781351;
background: #fee3ad;
border: 1px solid #781351
}
.widget_search {
background: red;
border: 1px solid #781351;
}