View Single Post
  #2  
Old 02-08-2012, 12:10 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Adding a blank line..

That's because you have the 2nd if statement - the one with the spaces, nested within the 1st if statement. That should come after the 1st statement.

Better would be to have an else in there instead.
{if $discount gt 0}
code
{else}
<br /><br />
{/if}

That would solve your problem - although you might want to consider using an image spacer for the blank space, rather than line breaks, then you can control the actual space easier using css, and also, it will work better in different browsers.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote