Brad Wood wrote: > The hash simply needs to be escaped as > #iif(bgFlag,DE(' style="background-color: ####DDFFDD"'),DE(''))# > > The hash needs to be escaped twice since you are delaying evaluation. > > The text: > style="background-color: ####DDFFDD" > > Is passed out of the de function as (including the quotes): > " style=""background-color: ##DDFFDD""" > > That text is then evaluated by the iif to: > style="background-color: #DDFFDD" > > ~Brad Thanks, now I understand what is going on. I had tried three, but never took it to four.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296260 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4