Page 1 of 1

Strange template problem in firefox

Posted: Fri Feb 20, 2009 1:03 pm
by sibra5
hello community,

i made a small script which i include in cms made simple.
it uses smarty and is for displaying data from a xml script.

i made a template which looks like:

Code: Select all

	
{$navigation}
	
	{foreach from=$items item=items}

		 <table style="padding:2px;border-bottom: 1px solid #ddd;margin-bottom: 10px; width:100%; font-family: verdana; font-size: 11px;">

.... and so on
everything runs fine, except that, that the template gets parsed with every single linebreak or blankfield.
so, the result of the above template is a table with three page breaks in front of it. if i take a look at the source code, there is no
or only blanks. if i modify the template and remove every linebreak and every blank, it works.

also with IE7 everything is fine.

does anybody know a solution?