View Single Post
  #1  
Old 07-18-2003, 06:03 PM
 
komarik komarik is offline
 

Advanced Member
  
Join Date: Jun 2003
Posts: 41
 

Default space between header and main ???

The main table in the home.tpl doesnt get resized to 100% and leaves a space between the header. You can see what i'm talking about here http://www.liquorsrus.com/xcart/customer/home.php
Here is my home.tpl

Code:
{* $Id: home.tpl,v 1.50 2003/04/09 07:41:05 olga Exp $ *} { config_load file="$skin_config" } <html> <head> <title>{$lng.txt_site_title} {if $main eq "catalog"} {if $location eq ""} {$lng.txt_subtitle_home} {else} {strip} {section name=position loop=$location start=0 } {if %position.last% eq "true"} - {$location[position].0|escape}{/if} {/section} {/strip} {/if} {elseif $main eq "product"} {if $product.product ne ''} - {$product.product}{/if} {elseif $main eq "help"} {$lng.txt_subtitle_help} {elseif $main eq "cart"} {$lng.txt_subtitle_cart} {elseif $main eq "checkout"} {$lng.txt_subtitle_checkout} {elseif $main eq "order_message"} {$lng.txt_subtitle_thankyou} {/if} </title> { include file="meta.tpl" } <link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}"> </head> <body LEFTMARGIN=0 TOPMARGIN=0 RIGHTMARGIN=0 BOTTOMMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#EAE9D9"> <tr> <td valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#EAE9D9"> <tr> <td>{ include file="rectangle_top.tpl" } { include file="head.tpl" }</td> </tr> <tr width="100%"> <td valign=top><table width="100%" height="100%" border=0 cellpadding=0 cellspacing=0 bgcolor="FFFFFA"> <tr> <td width=160 valign=top>{ include file="customer/categories.tpl" } {if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu eq "Y"} { include file="modules/Bestsellers/menu_bestsellers.tpl" } {/if} {if $active_modules.Gift_Certificates ne "" or $active_modules.Product_Configurator ne ""} {include file="customer/special.tpl"} {/if}{ include file="news.tpl" } { include file="help.tpl" } {if $usertype eq "C"}{else}{/if}</td> <td width=20 background="{$ImagesDir}/line.gif"></td> <td valign=top> {include file="customer/home_main.tpl"} б═ </td> <td width=20></td> <td width=150 valign=top>{ include file="customer/menu_cart.tpl" } {if $login eq "" } { include file="auth.tpl" } {else} { include file="authbox.tpl" } {/if} {if $active_modules.Interneka ne ""} { include file="modules/Interneka/menu_interneka.tpl" } {/if}</td> </tr> </table> </td> </tr> <tr> <td>{ include file="rectangle_bottom.tpl" } </td> </tr> </table></td> </tr> </table> </body> </html>

Can some1 help me to fix that problem.
Thanx
Reply With Quote