| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
catergories in middle of the page? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
catergories in middle of the page?
Heres my website www.slixaustralia.com.au
for some reason the menu bar won't sit up the top of the page? I've been scratching my head for days and can't work it out can someone tell me what im doing wrong? code from home.tpl below {* $Id: home.tpl,v 1.67.2.9 2005/06/28 12:02:38 svowl 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 bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" align= "center"> {if $body_onload ne ''} onload="{$body_onload}"{/if} <table width= "800" height= "100%"> { include file="head.tpl" } {if $active_modules.SnS_connector} {include file="modules/SnS_connector/header.tpl"} {/if} <table width="800" height="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor="#000000" id="Table_01"> <tr> <td colspan="2" nowrap background="images/main_01.gif" width="196" height="1"> </td> <td rowspan="3" nowrap background="images/main1_02.gif" width="5" height="100%"> </td> <td rowspan="2"> [img]images/main1_03.gif[/img]</td> <td> [img]images/spacer.gif[/img]</td> </tr> <tr> <td rowspan="2" background="images/main1_04.gif" height="100%" width="393"> {if $categories ne "" and ($active_modules.Fancy_Categories ne "" or $config.General.root_categories eq "Y" or $subcategories ne "")} { include file="customer/categories.tpl" } {/if} {if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu eq "Y"} { include file="modules/Bestsellers/menu_bestsellers.tpl" } {/if} {if $active_modules.Manufacturers ne "" and $config.Modules.manufacturers_menu eq "Y"} { include file="modules/Manufacturers/menu_manufacturers.tpl" } {/if} {include file="customer/special.tpl"} { include file="help.tpl" } </td> <td width="7" height="100%" rowspan="2" bgcolor="#000000"> </td> <td height="8" width="1"> [img]images/spacer.gif[/img]</td> </tr> <tr> <td bgcolor="#FFFFFF" width="390" height="100%"> <table> <td> {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"} {/if} </td> </table> </td> <td> [img]images/spacer.gif[/img]</td> </tr> </table> <table width="800" border="0" align="center" cellspacing="1"> <tr> <td bgcolor="#000000"></td> </tr> </table> </table> </body> </html>
__________________
x-cart 4.1.11 yay finally starting to get the hang of this stuff!! site: www.slixaustralia.com.au |
|||||||
#2
|
|||||||
|
|||||||
You need to get rid of this:
<table width= "800" height= "100%"> You control height and width of the site in rectangle_top.tpl, not home.tpl.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
thanx for the advice on the alignment stuff. (i wondered what rectangle top.tpl was with a name like that is makes sense though)
Do you know why the categories box wont sit to the top of the <td> box?
__________________
x-cart 4.1.11 yay finally starting to get the hang of this stuff!! site: www.slixaustralia.com.au |
|||||||
#4
|
|||||||
|
|||||||
could be all those slices in there. also try adding valign="top" to the table cell that contains the categories call.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
i worked it out it was a problem with the colspans so i took them out
__________________
x-cart 4.1.11 yay finally starting to get the hang of this stuff!! site: www.slixaustralia.com.au |
|||||||
|
|||
X-Cart forums © 2001-2020
|