| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
| 
 | 
||||||||||
| X-Cart Home | 
home.tpl - images and text ~ white space issue | |||
![]()  | 
	
	
		
			 | 	
	
||
| 
		 | 
	Thread Tools | Search this Thread | 
| 
		 
			 
			#1  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 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: 
	
 
				__________________ 
		
		
		
		
	
		
		
		
	NJB Sydney, Australia x-Cart Version 4.0.12  | 
|||||||
| 
		 
			 
			#2  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 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  | 
|||||||
| 
		 
			 
			#3  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 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  | 
|||||||
| 
		 
			 
			#4  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 It took me a while.... but I figured it out now! 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
		
		
		
	NJB Sydney, Australia x-Cart Version 4.0.12  | 
|||||||
| 
 | 
|||
| 
 
X-Cart forums © 2001-2020
 
 | 
|||