PDA

View Full Version : Change image for Submit button


dsmcd01
08-15-2004, 08:24 PM
Hello...

I have this code in my forumhome
<span class="smallfont"><form action="search.php" method="get" name="name">
<input type="hidden" name="do" value="getdaily" />
All posts last <input type="text" value="10" name="days" size="3" /> day(s) <input type="submit" value="Find" />
</form></span>

I'd like the Submit button to be the vBulletin find.gif.

Any suggestions?

Thx,
D.

integra99
08-15-2004, 08:48 PM
<input type="image" src="http://www.yoursite.com/images/find.gif" border="0" name="submit" alt="Submit">

dsmcd01
08-15-2004, 08:59 PM
<input type="image" src="http://www.yoursite.com/images/find.gif" border="0" name="submit" alt="Submit">
Very nice. Thank you!

One I got the "image" part of the puzzle, I can change your suggestion to
src="$stylevar[imgdir_button]/find.gif"

Thanks again...appreciate it,
D.