Hi, all.

In trying to tweak the display of some of my data in a textfield,
I started using <b style="color:red;"></b> to make my
heading stand out from the text under the heading.

All was working great until I added some code to try to get
the browser to honor spaces created with the spacebar,
like I do with replacing carriage returns, chr(13)'s, with
<br>.

So I tried this:

#replace(replace(get_events.event_description, "#chr(13)#", "<br>", "All"),
"#chr(32)#", "&nbsp;", "All")#

&nbsp; was the closest I could find to a spacebar html representation
at the moment.  (Is there something better to use?)

Anyway, the code above works fine, but it disables my
<b style="color:red;"></b> code.  No bold and no red.

Why is that?

Rick



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290829
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to