Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2009
    Posts
    11
    Plugin Contributions
    0

    Default <div class="categoryListBoxContents" style="width: 16%;">

    <div class="categoryListBoxContents" style="width: 16%;">

    It's driving me nuts! What determines that width %? And why does it change from page to page?

    http://thewerkstatt.com/stattstore/

    If you navigate down through VW or Audi, then you'll see how the image spacing jumps from 16%, 20%, 25% to 33%. I want to lock this in so it's always 16%

    I've checked my css, and can't find anything that could be causing this. And through the Admin CP I've changed the Categories to List Per Row and have only been able to make it worse with numbers less than 6.

    Advice?

  2. #2
    Join Date
    Jul 2009
    Posts
    11
    Plugin Contributions
    0

    Default Help with <div class="categoryListBoxContents" style="width: 16%;">

    <div class="categoryListBoxContents" style="width: 16%;">

    It's driving me nuts! What determines that width %? And why does it change from page to page?

    http://thewerkstatt.com/stattstore/

    If you navigate down through VW or Audi, then you'll see how the image spacing jumps from 16%, 20%, 25% to 33%. I want to lock this in so it's always 16%

    I've checked my css, and can't find anything that could be causing this. And through the Admin CP I've changed the Categories to List Per Row and have only been able to make it worse with numbers less than 6.

    Advice?


    BTW, sorry for cross-posting this. It seems to be potentially applicable to two different categories.
    Last edited by twelvizm; 7 Oct 2009 at 11:28 PM. Reason: Additional info

  3. #3
    Join Date
    Jul 2009
    Posts
    11
    Plugin Contributions
    0

    Default Re: Help with <div class="categoryListBoxContents" style="width: 16%;">

    Anyone? Is this a slow moving forum?

  4. #4
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    541
    Plugin Contributions
    0

    Default Re: Help with <div class="categoryListBoxContents" style="width: 16%;">

    Yes its slow moving unlike your racing car website.
    If you would slow down and think. you might come to a solution.

    You have 6 subscategories, and a width of 100%. 100 / 6 \approx 16.66666666666666666666666666666666666666666666666666666666666666666666666666666 6666666666666666666666666666666666666666666666667

    Thus it is rounded to 16. If you have only 4 subcategories, the width for each would be 25%.

    And because your padding needs space as well, it is not displayed in a sinlge line. Try to set the padding to 0 as shown below:

    Code:
    #contentColumnMain, #navColumnOne, #navColumnTwo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .alert {
    padding-left:0;
    padding-right:0;
    vertical-align:top;
    }

  5. #5
    Join Date
    Jul 2009
    Posts
    11
    Plugin Contributions
    0

    Default Re: Help with <div class="categoryListBoxContents" style="width: 16%;">

    That's initially what I thought too, that it was dividing the space by the amount of subcategories. But....

    Here on the index, there is 5. And it's at 16%
    http://thewerkstatt.com/stattstore/index.php

    But, here there is also 5. And it's at 20%
    http://thewerkstatt.com/stattstore/i...=index&cPath=2

  6. #6
    Join Date
    Jul 2009
    Posts
    11
    Plugin Contributions
    0

    Default Re: Help with <div class="categoryListBoxContents" style="width: 16%;">

    Anyone else have any thoughts on this? I know this is old hat to someone out there. But, I would appreciate the help.

  7. #7
    Join Date
    Jun 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: Help with <div class="categoryListBoxContents" style="width: 16%;">

    Under tools, click developers tool kit, then put "width: 16%" in the last box (look-up in all files) click all files catalog then search. This will show you all instances of it in your files.

  8. #8
    Join Date
    Jul 2009
    Posts
    11
    Plugin Contributions
    0

    Default Re: Help with <div class="categoryListBoxContents" style="width: 16%;">

    Did that once before. Also searched the .css files for 16%, 20%, 25%

    Nothing related.

    Error: No matching Configuration Keys were found ... width: 16%

 

 

Similar Threads

  1. Replies: 2
    Last Post: 17 May 2011, 03:50 AM
  2. editing div id="indexCategories" class='centerColumn'
    By firefly9 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 7 Dec 2010, 10:01 PM
  3. <div class="legalcopyright"> where the frick is it?
    By Rickwilliams in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 23 Jul 2009, 08:34 AM
  4. Replies: 3
    Last Post: 3 Jun 2008, 11:41 AM
  5. Change <div class="categoryListBoxContents" style="width:33%;">
    By akabigdog in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 21 Apr 2007, 02:03 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR