View Single Post
  #1  
Old 07-14-2003, 05:07 PM
 
stryker898 stryker898 is offline
 

Senior Member
  
Join Date: Jan 2003
Posts: 113
 

Default <Input> and <form> search function over an image

Can someone put up some example code for integrating a "input" over an image?

I am trying to place my search.tpl (info) over a simple bar image. In the search.tpl there is a <input> and <form>, I want to place this info over a image bar.
This is the code I'm playing with so far.
Quote:
<input name="mainlogobar" type="image" src="images/mainlogobar.gif" align="left" width="694" height="36" style="background-repeat: repeat-x">
<form method="get" action="../customer/search.php" name=productsearchform>
<tr>
<td valign="middle" width=34>


<span class="TopLabel">{$lng.lbl_search}:</span></p>
</td>
<td valign="middle" width=250>
<input type="text" name="substring" size="16" value="{$smarty.get.substring|escape}">
{include file="buttons/search_head.tpl"}
</td>
</tr>
<tr>
<td width=34></td>
<td>{$lng.lbl_advanced_search}</td>
</tr>
</form>

I am using Dreamweaver and have been going at this for several hours...maybe someone can lead me in the right direction, thanks

Chris
__________________
Never take life too seriously, cause none of us are getting out of here alive!
Reply With Quote