X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   home.tpl - images and text ~ white space issue (https://forum.x-cart.com/showthread.php?t=13040)

NJB 03-26-2005 10:15 PM

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}


balinor 03-27-2005 01:42 PM

That is because you are using a paragraph tag. If you want to center justify the payment options, try using a <span> tag instead.

NJB 03-27-2005 03:42 PM

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 03-27-2005 04:39 PM

It took me a while.... but I figured it out now!


All times are GMT -8. The time now is 03:27 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.