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

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
rodeto
Power Poster
Power Poster
Posts: 410
Joined: Thu May 04, 2006 9:12 am

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

Post 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?
________________________________
Je gaat het pas zien als je het doorhebt.
Post Reply

Return to “Layout and Design (CSS & HTML)”