View Single Post
  #12  
Old 09-15-2006, 08:07 PM
 
pinklinoleum pinklinoleum is offline
 

Advanced Member
  
Join Date: Aug 2006
Posts: 37
 

Default Re: Formatting gone awry... what the heck is that doing over THERE!?

hi again!

i have been playing with the customer/home.tpl file, and now i at least gotten consistant results when i test the site in various browsers....

but... i'm still having issues! (there is always something, huh?)
anyway, i'm stumped! if you want a challenge, here is the revised version of my home.tpl file.

my goal is to have the main content area be left justified..... but also set at 90% width. this way, the contents of my dialog boxes will resize and space out their contents depending on the size of the viewers window.

with an older home.tpl i had this working in Safari, but it didnt look right in other browsers. the way it is now, the main content only scales to 90% width on a product detail page, but no other pages. so weird!? all of my contents in their respective .tpl files is set to 100% width.

>>>why is the table in the home.tpl that holds {include file="customer/home_main.tpl"} not sizing itself to the 100% width property for all the min contents?<<<

anyway.... thanks again for your time!

Code:
{* $Id: home.tpl,v 1.67.2.10 2005/10/31 11:36:14 max Exp $ *} {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 background="{$ImagesDir}/backgrd.gif" style="background-repeat: no-repeat" leftmargin="0" topmargin="0" rightmargin="0" bottomargin="0" marginwidth="0" marginheight="0"> { include file="rectangle_top.tpl" } { include file="head.tpl" } {if $active_modules.SnS_connector} {include file="modules/SnS_connector/header.tpl"} {/if} <TABLE width= "90%" border="1" cellpadding="0" cellspacing="0" align="left"> <TR> <TD width="150" border="0" align= "left" valign="top"> <table valign="top" border="1"><tr><td valign="top" border="1"> {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.Manufacturers ne "" and $config.Modules.manufacturers_menu eq "Y"} { include file="modules/Manufacturers/menu_manufacturers.tpl" }{/if}</td></tr></table> </TD> <TD border="0" valign="top"> <!-- central space --><table width=100% border="1" valign="top"><tr><td valign="top"> {include file="customer/home_main.tpl"}</td></tr></table> </td> </TR> </TABLE> </BODY> </HTML>
__________________
XCART version 4.0.19
Reply With Quote