Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Annoying gap between left column and center box

Annoying gap between left column and center box

Locked

Views: 1,107

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
7 Jul 2009, 7:04 PM
#1
reeselectronics avatar

reeselectronics

New Zenner

Join Date:
Oct 2008
Posts:
7
Plugin Contributions:
0

Annoying gap between left column and center box

Hi, thx in advance for helping out

I recently changed the width of my site reeselectronics.com because i wanted a 4 column grid. that went well on the main page. however every other page seems to have a gap between the left column and center box. i tried messing with the stylesheet mainwrapper and tpl_main_page but with no luck. also appears in categories. here's some pages

http://www.reeselectronics.com/ (no gap)

http://www.reeselectronics.com/reviews.html

http://www.reeselectronics.com/audio-c-13.html

All help is greatly appreciated.:lookaroun

7 Jul 2009, 8:08 PM
#2
reeselectronics avatar

reeselectronics

New Zenner

Join Date:
Oct 2008
Posts:
7
Plugin Contributions:
0

Re: Annoying gap between left column and center box

Update: even tho i changed the width in css. doesnt seem to work with Internet Explorer neither:

#mainWrapper {
text-align: left;
width: 900px;
vertical-align: top;
}

8 Jul 2009, 1:05 AM
#3
reeselectronics avatar

reeselectronics

New Zenner

Join Date:
Oct 2008
Posts:
7
Plugin Contributions:
0

Re: Annoying gap between left column and center box

Update: i was able to remove the gap between the left column and centerbox by manually editing the width in tpl_main_page

Before:

<td id="navColumnOne" class="columnLeft" style="width:<?=COLUMN_WIDTH_LEFT?>" valign="top"> <div id="navColumnOneWrapper" style="width:<?php echo BOX_WIDTH_LEFT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></div></td> <?php } ?><td width="3"><?=zen_image(DIR_WS_TEMPLATE.'images/spacer.gif','','3px','1px')?></td> <td valign="top" width="378px">

After:

<td id="navColumnOne" class="columnLeft" style="width:178px" valign="top"> <div id="navColumnOneWrapper" style="width:178px"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></div></td> <?php } ?><td width="3"><?=zen_image(DIR_WS_TEMPLATE.'images/spacer.gif','','3px','1px')?></td> <td valign="top" width="100%">

However i am still having a problem with the width in ie. again internet explorer is not affected at all. and the alignement for the whole site is slightly to the right. but centered in firefox.

PLEASE HELP:cry: