PDA

View Full Version : How do i replace it with a search button?


Adam21
08-02-2008, 10:39 AM
I've tried putting this code on my side column,but i cant seems to place a search button http://www.simple-upload.com/files/find.gif (http://www.simple-upload.com) to let it be the submit button.can anyone tell me which part of my code went wrong??


<!-- Search Box -->
<td valign="middle"> <div style="white-space:nowrap">
<form action="http://www.xxxxxxxx.com/forum/search.php" method="post">
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="showposts" value="0" />
<input type="hidden" name="quicksearch" value="1" />
<input type="text" style="width:120px;" class="bginput" name="query"/>
<input style="font: bold 10px Arial" type="submit" value="Search" /></form>
<a style="text-decoration:none" href="search.php" accesskey="4" rel="nofollow" id="navbar_search" class=""></a>&nbsp;
</div></td>
<!-- /Search Box -->

Spank
08-02-2008, 11:24 AM
I'm not sure on this, but trial and error should get you there.
try replacing
<input type="text" style="width:120px;" class="bginput" name="query"/>

with
<img src="URL OF PIC HERE" />

Adam21
08-02-2008, 12:27 PM
I'm not sure on this, but trial and error should get you there.
try replacing
<input type="text" style="width:120px;" class="bginput" name="query"/>

with
<img src="URL OF PIC HERE" />

thanks for the reply but its not.i've figured it out anyway.here's it if someone else is interested

replace the above with


<input type="image" src="BUTTON URL" class="inlineimg" alt="Search for it!" />

Spank
08-02-2008, 01:22 PM
lol, told you I wasn't sure. Glad you got it sorted =D