View Single Post
  #1  
Old 07-08-2006, 08:57 PM
 
robf robf is offline
 

Advanced Member
  
Join Date: May 2006
Posts: 61
 

Default Display boarder around product in products_t.tpl page

Hello, I have serached and searched and tried and tried and cannot seem to be able to do what I want. On my products_t.tpl page I have all the items individually wrapped with a boarder, however the whole row will of course show this boarder 3 times even when that particular row only has 1 or 2 items.

I have the boarder using a table around the whole template, this is the tag.

Code:
<table width="100%" cellpadding="5" cellspacing="10" border="1">

So my question is, is there an if statement that I can use that will only use boarder="1" if that column actually has an item in it? Should I be doing this a different way than using the boarder tag?

I hope this makes sense, here's a link to a page, you will see what I mean.

http://www.yourelectronicsuperstore.com/home.php?cat=5

Any help would be appreciated!
Thanks
Rob
__________________
x-cart 4.1.6
PHP 4.4.2
MySQL server 4.0.26-log
MySQL client 5.0.20
Operation system FreeBSD
Perl 5.008008
Reply With Quote