Ok, I think I figured it out... which then leads me to an x-cart structural question...
In <rectangle_top.tpl> I had set the {$width|default:"x"} to 980-px (instead of the default for my skin which is "100%")
I did this in both places:
Code:
<TABLE align="center" class="okvir" border="0" cellpadding="0" cellspacing="0" width="{$width|default:"980px"}" height="100%">
<TR>
<TD valign="top">
<TABLE align="center" border="0" cellpadding="0" cellspacing="0" width="{$width|default:"980px"}" height="100%">
<TR>
<TD valign="top"><DIV style="position: absolute;" id="div_null"></DIV>
As opposed to:
Code:
<TABLE align="center" class="okvir" border="0" cellpadding="0" cellspacing="0" width="{$width|default:"100%"}" height="100%">
<TR>
<TD valign="top">
<TABLE align="center" border="0" cellpadding="0" cellspacing="0" width="{$width|default:"100%"}" height="100%">
<TR>
<TD valign="top"><DIV style="position: absolute;" id="div_null"></DIV>
Setting the width here to 100% solved my problem.
NOW this leads me to -- how important is it to have a mandatory fixed width?
If I set rectangle_top.tpl width(s) to 980px, then should I also set the /customer/home.tpl main table width to 980px as well, yes?
Is this where I was having the shift? There must be some load order in the xcart generated html - and it was making a 100% table (home.tpl) then constaining it down to 980px (rectangle_top.tpl)
Am I understanding this correctly -- so IF home.tpl had the same width as rectangle_top, things would match, yes?
Not exactly... if I set rectangle_top, and home.tpl to a fixed width, then I also have to set all the other .tpl files to the fixed width...
Which leads me to:
Why is rectangle_top.tpl immediately nesting the entire site into (2) tables:
Code:
<TABLE align="center" class="okvir" border="0" cellpadding="0" cellspacing="0" width="{$width|default:"100%"}" height="100%">
<TR>
<TD valign="top">
<TABLE align="center" border="0" cellpadding="0" cellspacing="0" width="{$width|default:"100%"}" height="100%">
<TR>
<TD valign="top"><DIV style="position: absolute;" id="div_null"></DIV>
OR -- is this something that the designer of my skin (Goran) gave me?
I find all this fascinating... I just want to know... If I discover things, I'll report back...