PDA

View Full Version : space between sub category images


artyrachel
06-30-06, 07:33 PM
i'm using images for my categories and subcategories. they're all 125x16 pixels. the category images show up flush next to each other, but the subcategory images have some space between them (1 or 2 pixels) on top and bottom. any way to fix that?

thanks in advance!

Vic - WolfPaw Computers
06-30-06, 08:20 PM
Can you post your URL so we can see whats happening?

artyrachel
06-30-06, 08:29 PM
sure, it's www.flamerekindled.com (http://www.flamerekindled.com)

the category that has the subcats is lingerie. if you use your curser to highlight the category tree, you'll see that there isn't space between the main cat images, but there is between the sub cat ones.

thanks!

Vic - WolfPaw Computers
06-30-06, 08:43 PM
Its going to be one of a couple things...

Either the &nbsp's in front of the image links and the width of the cat tree, or your style associated with CLASS="cattree_child"

spiderling
06-30-06, 09:07 PM
The   are pushing the images beyond the available column width, which causes the line break. You can try decreasing the cellpadding for that table from the current value of 10 and/or removing one of the  .

FYI, There are no <LINK> or <STYLE> tags for your style classes to reference to.

Pasquale

artyrachel
06-30-06, 09:11 PM
i didn't manually put in any &nbsp; in front of the images, would it have done that automatically?

i also don't have any styles associated with the cat tree, that i know of.

how can i change the cell padding/width of the cat tree?

thanks again.

spiderling
06-30-06, 09:48 PM
The cellpadding you need to change is in the first <TABLE> tag before the Sign In link. You can try a value of 5 and see if it is enough to help. The tag in your source is <TABLE border="0" cellpadding="10" cellspacing="0">


The &nbsp; may have been there by default.

The 'class' attribute is almost always used to apply styles to content. If class="cattree_child" and class="cattree_top" is not necessary, you could remove it.


Pasquale