View Single Post
  #3  
Old 04-25-2006, 01:08 PM
 
Grant Grant is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 171
 

Default

Quote:
Originally Posted by balinor
Take a look at menu.tpl, it will show you what styles could be causing that border.

Thanks again man

One other question - I can't seem to make the column run to the bottom of the page and meet up with the footer - http://wyzeshop.com/store/home.php?cat=7

When I try to label the table cell with a background colour (white) it stretches the table wider than the menu colums. I think this is due to my html editor (dreamweaver) and the fact that even though you can set the column widths by number when you drop the smarty code in there it stretches the column by about another 80px. In the code it is still saying that the width is set to 157px but on the wysiwyg it stretches the coloumn filling the background with the selected colour & this is somehow being replicated when home.tpl is called.

Here is the code for my home.tpl

Quote:
{* $Id: home.tpl,v 1.67.2.10 2005/10/31 11:36:14 max Exp $ *}
{if $printable ne ''}
{include file="customer/home_printable.tpl"}
{else}
{config_load file="$skin_config"}
<HTML>
<HEAD>
<TITLE>
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{$location[position].0|escape}
{if not %position.last%} :: {/if}
{/section}
{else}
{section name=position loop=$location step=-1}
{$location[position].0|escape}
{if not %position.last%} :: {/if}
{/section}
{/if}
</TITLE>
{ include file="meta.tpl" }
<LINK rel="stylesheet" href="{$SkinDir}/{#CSSFile#}"></HEAD>
<BODY leftmargin="0" topmargin="0" rightmargin="0" bottomargin="0" marginwidth="0" marginheight="0"{if $body_onload ne ''} onload="{$body_onload}"{/if}>
{ include file="rectangle_top.tpl" } {if $active_modules.SnS_connector}
{include file="modules/SnS_connector/header.tpl"} {/if}

<TABLE align="CENTER" border="0" cellpadding="0" cellspacing="0" width="953">

<TR>
<TD height="75" valign="top" colspan="2">http://www.wyzeshop.com/store/skin1/images/header/head_01.jpg</TD>
<td width="1"></td>
</TR>
<tr>
<td height="43" valign="top" background="http://www.wyzeshop.com/store/skin1/images/header/head_02.jpg" width="805">{if
$usertype eq "C"} { include file="customer/search.tpl" } {/if} </td>
<td width="147" rowspan="2" valign="top" background="http://www.wyzeshop.com/store/skin1/images/header/head_03.jpg"><div align="center"><font color="#FFFF99" size="1" face="Arial, Helvetica, sans-serif">



</font>
<font color="#FFFF99" size="1" face="Arial, Helvetica, sans-serif"><font color="#CCFF66" face="Verdana, Arial, Helvetica, sans-serif">{include
file="currency.tpl" value=$minicart_total_cost}
</font></font></div></td>
<td></td>
</tr>
<tr>
<td valign="top" rowspan="2" background="http://www.wyzeshop.com/store/skin1/images/header/head_04.jpg">{include
file="wyzenav.tpl"}</td>
<td height="16"></td>
</tr>
<tr>
<td valign="top" rowspan="2" background="http://www.wyzeshop.com/store/skin1/images/header/head_05.jpg"><div align="center">

view cart
| checkout
</div></td>
<td height="5"></td>
</tr>
<tr>
<td height="31" valign="top" background="http://www.wyzeshop.com/store/skin1/images/header/head_06.jpg"><div align="right">{include
file="printable.tpl"}</div></td>
<td></td>
</tr>
<tr>
<td height="1">[img]swingcity/images.gif[/img]</td>
<td>[img]swingcity/images.gif[/img]</td>
<td></td>
</tr>
</TABLE>
<table align="CENTER" width="953" border="0" cellspacing="0" cellpadding="0">

<tr>
<td valign="top" td width="184" border="0" height="84"><font size="1">{ include
file="customer/categories.tpl" } {if $login eq "" } { include file="auth.tpl"
} {else} { include file="authbox.tpl" } {/if}{ include file="news.tpl" }{
include file="modules/Bestsellers/menu_bestsellers.tpl" }{include file="customer/special.tpl"}{
include file="help.tpl" } </font></td>
<td width="19"></td>
<td width="602" valign="top">

{include file="location.tpl"} {include file="dialog_message.tpl"} {if $active_modules.Special_Offers
ne ""} {include file="modules/Special_Offers/customer/new_offers_message.tpl"}
{/if} {include file="customer/home_main.tpl"}

</td>
<td width="148"></td>
</tr>
<tr>
<td height="32" colspan="4" valign="top">http://www.wyzeshop.com/store/skin1/images/footer.jpg</td>
</tr>
</table>
<div align="center"> </div>
</BODY>
</HTML>
{/if}

I can see that after uploading it the table width has changed to 184px - when I try to change this manually to 157px from the edit templates section in x-cart admin it gives me a File couldn't be saved error?

Is there anyway around this. Or am I just missing something obvious?
__________________
X-Cart version : 4.0.18
Mod : Customer Also Bought
Mod : Custom catergory Templates
Mod : Custon Product Templates
Reply With Quote