Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Gap In Product Listing with multiple colums - Any Ideas?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-15-2003, 06:00 PM
 
wallachee wallachee is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 102
 

Default Gap In Product Listing with multiple colums - Any Ideas?

I updated my products.tpl file to divide the product listings into two columns. Everything works great, but in Internet Explorer on windows machines there is a big gap of white space in between the product listings and the top of the table. Also, in Internet Explorer on a mac the columns are too big and will not resize even though I've set width=100%. I've tried other widths as well. I know what I'm doing, but I just can't figure this one out. It works fine in Mozilla, Safari, and Netscape. The code for my products.tpl file is below. Any suggestions are appreciated. The website store is: http://www.powerbookmedic.com/xcart1

Code:
<table border=0 width=100% <tr><td> б═ <table border=0 width=100% > б═ {section name=product loop=$products} б═ {if $smarty.section.product.index is div by 2} б═ б═ </tr><tr valign="top"> б═ {/if} б═ <td valign="top"> б═ б═ <table border=0 width=100% ><tr> б═ б═ б═ <td width=90 align=center valign=top><a href=product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}>{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=70 product=$products[product].product} { $lng.lbl_see_details }</a></td> б═ б═ б═ <td valign=top width=100% >{$products[product].product|escape}</font> <font class=TableCenterProductTitleOrange></font><font size=1> {$products[product].descr|truncate:100:"...":true} </font><hr size=1 noshade width=130 align=left> б═ б═ б═ {if $active_modules.Subscriptions ne "" and $products[product].catalogprice} б═ б═ б═ {include file="modules/Subscriptions/subscription_info_inlist.tpl"} б═ б═ б═ {else} б═ б═ б═ {if $products[product].price ne 0} б═ б═ б═ {if $products[product].discount ne 0} б═ б═ б═ <font class=MarketPrice>{$lng.lbl_market_price}: <s>{math equation="(price/(100-discount))*100" price=$products[product].price discount=$products[product].discount format="%d.00" assign=unformatted}{include file="currency.tpl" value=$unformatted}</s> </font> б═ б═ б═ {/if} б═<div align="left"> б═ б═ <font class=TableCenterProductTitleOrange>{$lng.lbl_our_price}: {include file="currency.tpl" value=$products[product].price}</font><font class=MarketPrice>{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].price}</font>{if $products[product].discount ne 0}, save {$products[product].discount}%{/if} б═ б═ б═ {else} б═ б═ б═<div align="left"> <font class=TableCenterProductTitleOrange>{$lng.lbl_enter_your_price}</font> б═ б═ б═ {/if} б═ б═ б═ {/if} б═ б═ б═ </td></tr> б═ б═ </table> б═ </td> б═ {/section} </td></tr></table> </td></tr></table>
Reply With Quote
  #2  
Old 07-16-2003, 03:40 AM
 
parmar parmar is offline
 

eXpert
  
Join Date: Apr 2003
Location: London, UK
Posts: 286
 

Default

Check the ...cutomer/main/product_t.tpl

It may be something in there that is setting the height wrogly.
__________________
--------------------
Sandip


x-cart version 5.4.X, hosted on X-Cart server/
Reply With Quote
  #3  
Old 07-16-2003, 08:38 AM
 
wallachee wallachee is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 102
 

Default

I don't have a product_t.tpl file. If you are referring to the product.tpl file, I've tried fixing everything there as well to no avail. Any help is appreciated.

-Bradley
Reply With Quote
  #4  
Old 07-16-2003, 01:33 PM
 
parmar parmar is offline
 

eXpert
  
Join Date: Apr 2003
Location: London, UK
Posts: 286
 

Default

Whast version are you running? I think there should be a file under customer/main called product_t.tpl that controls as far as I know the feature products.
__________________
--------------------
Sandip


x-cart version 5.4.X, hosted on X-Cart server/
Reply With Quote
  #5  
Old 07-16-2003, 02:02 PM
 
wallachee wallachee is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 102
 

Default

I'm using version 3.3.5. I don't have that template, but thanks for the response. Any other ideas? This is driving me crazy.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:36 AM.

   

 
X-Cart forums © 2001-2020