![]() |
smarty if div by 3 with equal spacing
Hi All
I have managed to get my subcategories.tpl to be div by 3, the only problem, is that the subcategories listings are not evenly spaced out http://www.savatrader.com/products/customer/home.php?cat=115 does anyone know how to add an even spacing between the subcategories listings :?: many thanks anton |
Table Spacing
Looks like you have some issues with the TD width percentages.
Your Code: Code:
<table width="100%" border=0 cellspacing=5> Change to: Code:
<table width="100%" border=0 cellspacing=5> You have a total of 5 columns, so I changed the percentage on each to 20% (20 * 5 = 100). I also got rid of your align=left tage since by default each column should align left. I assume you did that in the hopes that it would solve your spacing problem. If not, you may need to add that back in. :) Hope this helps! |
Hi machnhed1
my template only had 2x coloums and the div by 3 code turned into five, but playing with the TD width has resolved my problem by just having 1x td width=33% thanks :D |
All times are GMT -8. The time now is 08:46 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.