Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Need some help with columns

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-01-2006, 12:10 PM
 
gscmotorsports gscmotorsports is offline
 

Newbie
  
Join Date: Apr 2006
Posts: 5
 

Default Need some help with columns

my store

http://www.killersupra.com


im looking to make the columns height stretch to the bottom of the page like 100% to make the template flow better..

Where can i find out how to do this?

Also its my first x-cart site so if you see any issues please let me know

thanks!
__________________
version x-cart-4-1.1.0 gold
Reply With Quote
  #2  
Old 06-01-2006, 12:18 PM
 
Grant Grant is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 171
 

Default Re: Need some help with columns

Quote:
Originally Posted by gscmotorsports
my store

http://www.killersupra.com


im looking to make the columns height stretch to the bottom of the page like 100% to make the template flow better..

Where can i find out how to do this?

Also its my first x-cart site so if you see any issues please let me know

thanks!

I've done a similar thing to what your asking on my store : http://www.wyzeshop.com

Here's my home.tpl so you can see how I did it

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">[img]{$ImagesDir}/head_01.jpg[/img]</TD>
<td width="1"></td>
</TR>
<tr>
<td height="43" valign="top" background="{$ImagesDir}/head_02.jpg" width="805">{if
$usertype eq "C"} { include file="customer/search.tpl" } {/if} </td>
<td width="147" rowspan="2" valign="top" background="{$ImagesDir}/head_03.jpg"><div align="center"><font color="#FFFF99" size="1" face="Arial, Helvetica, sans-serif">



</font>
<font class="MainCartDisplay">{include
file="currency.tpl" value=$minicart_total_cost}</font></div></td>
<td></td>
</tr>
<tr>
<td valign="top" rowspan="2" background="{$ImagesDir}/head_04.jpg">{include
file="wyzenav.tpl"}</td>
<td height="16"></td>
</tr>
<tr>
<td valign="top" rowspan="2" background="{$ImagesDir}/head_05.jpg"><div align="center">

view cart
| checkout
</div></td>
<td height="5"></td>
</tr>
<tr>
<td height="31" valign="top" background="{$ImagesDir}/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="157" border="0" height="84" bgcolor="#FFFFFF">{ 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" }</td>
<td width="46"></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}{if $main eq "checkout"} {include file="customer/main/checkoutstepz.tpl"}{/if}{include
file="customer/home_main.tpl"}

</td>
<td width="148"></td>
</tr>
<tr>
<td height="32" colspan="4" valign="top">[img]{$ImagesDir}/footer.jpg[/img]</td>
</tr>
</table>
<div align="center"> </div>
</BODY>
</HTML>
{/if}
__________________
X-Cart version : 4.0.18
Mod : Customer Also Bought
Mod : Custom catergory Templates
Mod : Custon Product Templates
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:30 AM.

   

 
X-Cart forums © 2001-2020