VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 Layout for Searchbox + Advanced search
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Trial_and_Error
Starting Member

36 Posts

Posted - March 09 2009 :  19:53:42  Show Profile  Reply with Quote
Hello,

I'm customizing the standard searchbox in shoppage_trailer.htm.

I have put the standard "form3" into a table like below, but there is too much space between the advanced search link and the border of the table. I have the impression that there is somewhere a hard return in the layout of "form3".

Can somebody tell me where I could find the layout for form3?

Thanks for any help

The table for form3:

<table width="100%" border="0" cellpadding="0" cellspacing="0" id="zoek">
<tr>
<td >
<form method="POST" action="shopsearch.asp?search=Yes" id="form3" name="form3" >
<input class="zoekveld" type="text" name="keyword" size="20" value="<%=getlang("langsearchboxdefault")%>" onClick="clearfield()">
<input name="b1" type="image" src="images/header/go.gif" align="center" border="0">
<a href="shopsearch.asp"><%=getlang("langadvancedsearch")%></a>
</form>
</td>
</tr>

</table>

devshb
Senior Member

United Kingdom
1898 Posts

Posted - March 09 2009 :  20:50:41  Show Profile  Visit devshb's Homepage  Reply with Quote
in some browsers (internet explorer is one I think), form tags create spurious whitespace; move the form tags to be outside the <td> and/or <tr> tags and you'll probably see it suddenly shrink back to what you'd expected, eg:


<table width="100%" border="0" cellpadding="0" cellspacing="0" id="zoek">
<form method="POST" action="shopsearch.asp?search=Yes" id="form3" name="form3" >
<tr>
<td>
<input class="zoekveld" type="text" name="keyword" size="20" value="<%=getlang("langsearchboxdefault")%>" onClick="clearfield()">
<input name="b1" type="image" src="images/header/go.gif" align="center" border="0">
<a href="shopsearch.asp"><%=getlang("langadvancedsearch")%></a>
</td>
</tr>
</form>
</table>

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons
Go to Top of Page

Trial_and_Error
Starting Member

36 Posts

Posted - March 10 2009 :  15:41:53  Show Profile  Reply with Quote
Hi Simon,

Amazing how browsers interpret things differently. Anyway, your suggestion did the trick!

Thanks,

Trial and Error
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000