Forums / General Questions / Help with <div class="categoryListBoxContents" style="width: 16%;">

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

Locked

Views: 3,647

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
7 Oct 2009, 10:13 PM
#1
twelvizm avatar

twelvizm

New Zenner

Join Date:
Jul 2009
Posts:
10
Plugin Contributions:
0

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? :frusty: :lamo:

7 Oct 2009, 10:27 PM
#2
twelvizm avatar

twelvizm

New Zenner

Join Date:
Jul 2009
Posts:
10
Plugin Contributions:
0

Re: 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? :frusty: :lamo:

BTW, sorry for cross-posting this. It seems to be potentially applicable to two different categories.

7 Oct 2009, 11:46 PM
#3
twelvizm avatar

twelvizm

New Zenner

Join Date:
Jul 2009
Posts:
10
Plugin Contributions:
0

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

Anyone? Is this a slow moving forum?

8 Oct 2009, 3:52 AM
#4
tino_schlegel avatar

tino_schlegel

Totally Zenned

Join Date:
Nov 2007
Location:
Melbourne, Australia
Posts:
532
Plugin Contributions:
0

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.666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666667

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:

#contentColumnMain, #navColumnOne, #navColumnTwo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .alert {
padding-left:0;
padding-right:0;
vertical-align:top;
}
8 Oct 2009, 6:02 AM
#5
twelvizm avatar

twelvizm

New Zenner

Join Date:
Jul 2009
Posts:
10
Plugin Contributions:
0

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/index.php?main_page=index&cPath=2

9 Oct 2009, 12:34 AM
#6
twelvizm avatar

twelvizm

New Zenner

Join Date:
Jul 2009
Posts:
10
Plugin Contributions:
0

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.

11 Oct 2009, 1:42 PM
#7
nicola avatar

nicola

New Zenner

Join Date:
Jun 2008
Posts:
8
Plugin Contributions:
0

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.

12 Oct 2009, 8:07 PM
#8
twelvizm avatar

twelvizm

New Zenner

Join Date:
Jul 2009
Posts:
10
Plugin Contributions:
0

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%