Page 1 of 1

How to get rid of the extra space before the closing tag ?

Posted: Fri Jan 04, 2008 6:43 pm
by rodeto
In my template there is this piece of code

Code: Select all

<div id="menu1">{cms_selflink page='test' title='Beginpagina' text='' image='images/cms/menu.gif'}</div>
In the output it comes out like this

Code: Select all

<div id="menu1"><a href="test.php" title="Testpagina"><img src="images/cms/menu.gif" alt="" /> </a></div>
As you can see there is an extra space before the closing tag

In IE6 this causes me some whitespace that I want to get rid of but I can't seem to find the proper solution for this. Can anyone help me out here?