View Single Post
  #3  
Old 12-11-2002, 11:05 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

Quote:
<TABLE WIDTH=760 BORDER=0 CELLPADDING=0 CELLSPACING=0>

<TR>
<TD width="219" height="119" ROWSPAN=3 align="left" valign="top">[img]{$ImagesDir}/glasses.jpg[/img]
</TD>

<TD COLSPAN=4 align="left" valign="top" HEIGHT=63 WIDTH=541> [img]{$ImagesDir}/fusionartstamps.jpg[/img]</TD>
</TR>
<TR>
<TD width="330" HEIGHT=35 align="left" valign="top">[img]{$ImagesDir}/eccentric.jpg[/img]</TD>
<TD width="66" HEIGHT=35 align="left" valign="top">[img]{$ImagesDir}/search.jpg[/img]</TD>


<TD align="left" valign="top" background="{$ImagesDir}/black.jpg">

{if $usertype eq "C" or "A"} <form method="get" action="search.php" name=productsearchform>

<div align="left">

<input type="text" name="substring" size="11" value="{$smarty.get.substring|escape}">
</div>

<TD width="59" HEIGHT=35 align="left" valign="top"><a href="javascript:document.productsearchform.submit ()">
[img]{$ImagesDir}/go.jpg[/img] </a>

<TR>

<TD COLSPAN=4 WIDTH=541>
</form>
{else}

</TR>

{/if}
</TABLE>

should be changed to

<TABLE WIDTH=760 BORDER=0 CELLPADDING=0 CELLSPACING=0>

<TR>
<TD width="219" height="119" ROWSPAN=3 align="left" valign="top">[img]{$ImagesDir}/glasses.jpg[/img]
</TD>

<TD COLSPAN=4 align="left" valign="top" HEIGHT=63 WIDTH=541> [img]{$ImagesDir}/fusionartstamps.jpg[/img]</TD>
</TR>
<TR>
<TD width="330" HEIGHT=35 align="left" valign="top">[img]{$ImagesDir}/eccentric.jpg[/img]</TD>
<TD width="66" HEIGHT=35 align="left" valign="top">[img]{$ImagesDir}/search.jpg[/img]</TD>


<TD align="left" valign="top" background="{$ImagesDir}/black.jpg">

{if $usertype eq "C" or "A"} <form method="get" action="search.php" name=productsearchform>

<div align="left">

<input type="text" name="substring" size="11" value="{$smarty.get.substring|escape}">
</div>
</TD>

<TD width="59" HEIGHT=35 align="left" valign="top"><a href="javascript:document.productsearchform.submit ()">
[img]{$ImagesDir}/go.jpg[/img] </a> </TD>

<TR>

<TD COLSPAN=4 WIDTH=541> </TD>
</form>
</TR>
{else}
</TD>
</TR>

{/if}
</TABLE>

If you run the html through a wysiwyg processor like Dreamweaver it will tell you the answers. (Although it doesn't like splitting the form tag across various table cells.)
__________________
ex x-cart guru
Reply With Quote