Styling search button
-
Hey peoples,
I’m re-styling my sidebar after widgetising it and have a question regarding the search box & button. Any help will be appreciated!!
The ‘Search’ button- what type of line of css code do I need to specify an image as the search button?
In the original searchform.php it looks like this:
<input id="searchsubmit" type="image" src="<?php bloginfo('template_directory'); ?>/images/btn_search.gif" alt="Submit" />
and so far in the new css version it’s this:
#searchWrap input{vertical-align:middle;} #searchWrap #s{font-size:1.1em;border:1px solid #BBB;padding:1px 2px;margin-right:3px;width:220px;}
I have tried some variants of this in the css to no avail:
#searchWrap #type{url:(images/btn_search.gif);}
Can anyone tell where I’m going wrong?
Thank you,
M.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Styling search button’ is closed to new replies.