Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jun 2007
    Posts
    195
    Plugin Contributions
    0

    Default Unequal space between sideboxes

    I'm developing a new site at http://www.diva############s.co.uk/shop/ and have a strange problem where the sideboxes on the right have larger gaps between them than the sideboxes on the left when viewed in Internet Explorer, but everything looks fine in Firefox.

    I've scoured the stylesheet and other files for clues and have tried allsorts but have finally run out of ideas.

    Please can anyone suggest a remedy?

  2. #2
    Join Date
    Jun 2007
    Posts
    195
    Plugin Contributions
    0

    Default Re: Unequal space between sideboxes

    I don't know what's causing the problem but could I cure it by having a seperate CSS entry for IE and Firefox?

  3. #3
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Unequal space between sideboxes

    Which boxes are you using on the right?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  4. #4
    Join Date
    Jun 2007
    Posts
    195
    Plugin Contributions
    0

    Default Re: Unequal space between sideboxes

    I've swapped the boxes around a bit, but currently I have on the right 'Important Links - Sponsors - Search - Bestsellers - Specials - Currencies'

  5. #5
    Join Date
    Jun 2007
    Posts
    195
    Plugin Contributions
    0

    Default Re: Unequal space between sideboxes

    Well I'm about to give up on this and dump Zen Cart in favour of trying another application unless anyone out there can please provide a bit of inspiriation? Been scratching my head over this for days now!

  6. #6
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Unequal space between sideboxes

    Problem is only when viewing in IE6.. IE7 and Firefox
    are both fine

  7. #7
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Unequal space between sideboxes

    Quote Originally Posted by PGlad View Post
    Well I'm about to give up on this and dump Zen Cart in favour of trying another application unless anyone out there can please provide a bit of inspiriation? Been scratching my head over this for days now!
    One big thing I notice, is that your *RIGHT* column has the wrong css selectors in its <td>:


    <td id="navColumnOne" class="columnLeft" style="width: 150px;">
    <div id="navColumnTwoWrapper" style="width: 150px;">

    It should be

    <td id="navColumnTwo" class="columnRight" style="width: 150px;">

    Open up includes/templates/YOUR_TEMPLATE/common/tpl_main_page.php and fix the line with the issue, it should look like this:

    Code:
    <td id="navColumnTwo" class="columnRight" style="width: <?php echo COLUMN_WIDTH_RIGHT; ?>">
    This is not a default zen issue, so let me know if the above code helps or not, and if not, I'd be happy to help figure out what was changed that is causing it.

  8. #8
    Join Date
    Jun 2007
    Posts
    195
    Plugin Contributions
    0

    Default Re: Unequal space between sideboxes

    Thanks for that, I can only use IE 6 on my PC as I'm using Win 2000 and this doesn't support IE 7. My default browser is Maxthon which shows the same problem as IE 6.

    The code in 'tpl_main_page.php' had been deliberately changed in my desperate attempt to try and make column 2 the same as column 1. I've changed it back to how it should be but the problem remains.

  9. #9
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Unequal space between sideboxes

    Quote Originally Posted by PGlad View Post
    Thanks for that, I can only use IE 6 on my PC as I'm using Win 2000 and this doesn't support IE 7. My default browser is Maxthon which shows the same problem as IE 6.

    The code in 'tpl_main_page.php' had been deliberately changed in my desperate attempt to try and make column 2 the same as column 1. I've changed it back to how it should be but the problem remains.
    In comparing the output of the left and right sideboxes, I noticed that the left sideboxes have an extra <div></div> in the <div class="leftBoxBottom"> section:

    Code:
      <div class="leftBoxBottom">
        <div></div>
      </div>
    Again, not sure that will fix either, but the more we make em identical, the more we can rule out possibilities.

    Also, your site has a few errors when I tried to validate it. Sections with the price specials are all causing an error, because of an extra span that perhaps you added? that isn't closed:

    Code:
    <span class="body">Was:&nbsp;<span class="normalprice">&pound;100.00 </span>&nbsp;<span class="productSpecialPrice"><s>&pound;95.00</s></span><span class="productPriceDiscount"><br />Save:&nbsp;5% off</span>
    The <span class="body"> isn't closed in any where it is seen, i don't remember ever seeing that before in a default install, so I'm guessing you added it?

    Here's a link to a validator for your site; fixing any errors couldn't hurt, and it could very well be something not closed before the right sideboxes that is throwing things off:

    http://validator.w3.org/check?verbos...o.uk%2Fshop%2F

  10. #10
    Join Date
    Jun 2007
    Posts
    195
    Plugin Contributions
    0

    Default Re: Unequal space between sideboxes

    Thanks for your comments, I've closed the tag (yes it was something I added) and will look into the other validation errors when I get the chance.

    I can't find the

    <div class="leftBoxBottom">
    <div></div>
    </div>

    which you spotted though - a bit puzzled by that!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Decreasing space between sideboxes?
    By KismetDesign in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 12 Sep 2010, 04:36 AM
  2. Need space between sideboxes and main content
    By Wstar in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Dec 2008, 03:41 PM
  3. space between sideboxes disappeared
    By jenpen in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Jan 2008, 06:08 AM
  4. Remove space between sideboxes
    By compwhizmm in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Nov 2007, 06:09 PM
  5. adding space or gap between sideboxes ??
    By yabora in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 9 Jun 2006, 10:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg