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

Why is my table way down the page?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-15-2006, 06:44 AM
 
Shaun Shaun is offline
 

Senior Member
  
Join Date: Sep 2005
Location: Michigan, USA
Posts: 176
 

Default Why is my table way down the page?

So I created a simple table to align a graphic and some text - http://www.streetortrack.com/Ford-style-universal-ALL-PRO-radiators-c-1214.html and dropped this html into the category 'description' in x-cart admin:

Code:
<table> <tr> <td valign="top"> <p align="center"> [img]files/images/northern/CR5145index.jpg[/img]</td> </tr> <tr> <td> The Ford style universal fit radiators feature an upper right inlet and a lower left outlet. They will work with any engine, however you will find these radiators more convenient if your hoses already attatch to the same locations. These radiators feature a 7 plate all aluminum high performance transmission cooler and can be used in either manual or automatic vehicles.</td> </tr> </table>

Any ideas on why there is a huge white space at the top?

Thanks!
__________________
X-Cart 5.4.1.19
Live site - www.streetortrack.com
Reply With Quote
  #2  
Old 07-16-2006, 03:23 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Looks like you already fixed it
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 07-16-2006, 05:39 AM
 
Shaun Shaun is offline
 

Senior Member
  
Join Date: Sep 2005
Location: Michigan, USA
Posts: 176
 

Default

Not exactly. I just put the text outside the table:

Code:
The Ford style universal fit radiators feature an upper right inlet and a lower left outlet. They will work with any engine, however you will find these radiators more convenient if your hoses already attatch to the same locations. These radiators feature a 7 plate all aluminum high performance transmission cooler and can be used in either manual or automatic vehicles. <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%"> <tr> <td width="100%"> <p align="center"> [img]files/images/northern/CR5145index.jpg[/img]</td> </tr> </table>

No matter what I seem to do with the table it always appears with a huge gap...
__________________
X-Cart 5.4.1.19
Live site - www.streetortrack.com
Reply With Quote
  #4  
Old 07-16-2006, 05:43 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

In Customer/main/subcategories.tpl, try replacing this:

{$current_category.description|regex_replace:"/[\n]/":"
"}



with this:

{$current_category.description}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 07-16-2006, 06:01 AM
 
Shaun Shaun is offline
 

Senior Member
  
Join Date: Sep 2005
Location: Michigan, USA
Posts: 176
 

Default

That was it!

Thanks!
__________________
X-Cart 5.4.1.19
Live site - www.streetortrack.com
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 02:13 PM.

   

 
X-Cart forums © 2001-2020