Re: [SMARTY] Cycle in bgcolor issue and workaround

From: Date: Tue, 07 May 2002 21:59:05 +0000
Subject: Re: [SMARTY] Cycle in bgcolor issue and workaround
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4075@lists.php.net to get a copy of this message
The \n has been removed from CVS, give it a try. Jason Sweat wrote:
I am using the cycle in Smarty 2.1.1 When I specify <tr bgcolor="{cycle values="white,white,silver"}"> the output looks like:
<tr bgcolor="white                             ">
and renders funny in IE5.5 (completely different colors for some reason. By doing {cycle values="white,white,silver" assign="bgcolor" print="false"} <tr bgcolor="{$bgcolor}"> I get the expected result. I even tried {strip} around the <tr> and it still had the spaces and a new line. Any way to remove the spaces and the new line from the output? Thanks. Jason __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

« previous php.smarty.general (#4075) next »