Cycle in bgcolor issue and workaround

From: Date: Tue, 07 May 2002 21:28:22 +0000
Subject: Cycle in bgcolor issue and workaround
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4073@lists.php.net to get a copy of this message
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

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