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

home.tpl - images and text ~ white space issue

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-26-2005, 10:15 PM
 
NJB NJB is offline
 

Member
  
Join Date: Mar 2005
Posts: 28
 

Default home.tpl - images and text ~ white space issue

I'm trying to modify my home page, and have added the following code at the bottom of customer/home.tpl There is a lot of white space between the PayPal logo and the "payment options" text insertion underneath - can someone advise how I go reducing the amount of white space? I tried the cellpadding and that didn't make any difference.

Thanks.


Code:
<TABLE border="0" width="96%" cellpadding="0" cellspacing="0" align="left"> <TR> <TD width="27">[img]{$ImagesDir}/spacer.gif[/img]</TD> <TD width="170" valign="top"> {*{include file="help.tpl"}*} {*{include file="customer/special.tpl"}*} <p align=center>{$lng.txt_minimum_order} <table border="0" cellpadding="10" cellspacing="0" align="center"><tr><td align="center"></td></tr> <tr><td align="center">[img]https://www.paypal.com/en_US/i/bnr/vertical_solution_PP.gif[/img]</td></tr></table> <p align=center>{$lng.txt_payment_options}
__________________
NJB
Sydney, Australia
x-Cart Version 4.0.12
Reply With Quote
  #2  
Old 03-27-2005, 01:42 PM
 
balinor balinor is offline
 

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

Default

That is because you are using a paragraph tag. If you want to center justify the payment options, try using a <span> tag instead.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 03-27-2005, 03:42 PM
 
NJB NJB is offline
 

Member
  
Join Date: Mar 2005
Posts: 28
 

Default

I'm still doing something wrong. I've changed to <span> tags, but how do I also get the text before and after the PayPal logo to centre by line.
Where does the <align="center"> go in relation to the span tags?
__________________
NJB
Sydney, Australia
x-Cart Version 4.0.12
Reply With Quote
  #4  
Old 03-27-2005, 04:39 PM
 
NJB NJB is offline
 

Member
  
Join Date: Mar 2005
Posts: 28
 

Default

It took me a while.... but I figured it out now!
__________________
NJB
Sydney, Australia
x-Cart Version 4.0.12
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:23 AM.

   

 
X-Cart forums © 2001-2020