That would be the place. There are any number of ways to adjust the calculation - any way that works for your situation is fine.
That would be the place. There are any number of ways to adjust the calculation - any way that works for your situation is fine.
Thank you both.
I'll play with it.
I tried reducing the width, and added padding (CSS), but the two cells (columns) stay attached, the padding appears to see the two cells as one.
the right border of left column sticks to the left border of the right column!
What part of the code controls the table padding?
I still see the width at 49% - - not enough space for margins or padding
Try
Code:$col_width = floor(100/$num_categories) -10;
Zen-Venom Get Bitten
I turned it back to that value, after I tried both
$col_width = floor(100/$num_categories) -10;
and
$col_width = floor(80/$num_categories);
I'll put it up again with the
.categoryListBoxContents {
border: 1px solid #000;
padding: 5px;
}
so you can check.
Give me 2 minutes please.
I'm trying it on another install with 4 categories, and while the columns stick together, the rows are parted fine.
Here is the other install afz design
Going home now, will be back jan 3/4.
Meanwhile best wishes for 2011 to all.
I'm back ... still need help.
You have no horizontal margins for .categoryListBoxContents. Add to the bottom of your stylesheet
.categoryListBoxContents {
margin: 1em 0.9em;
}
Thank you for the prompt reply.
I had tried that using px, maybe I mistyped, I'll try again, and let you know.