Carriage returns don't display in HTML :)
I usually do a <cfoutput>#replace( myText, "#chr(10)#", "<br>", "ALL"
)#</cfoutput>

-----Original Message-----
From: Jones, Becky [mailto:[EMAIL PROTECTED]]
Sent: 28 novembre, 2001 18:07
To: CF-Talk
Subject: word wrap in text area


this seems like a simple question, but does anyone know how to make what you
enter into a text area come out the same way when you redisplay it.  so if
in my text box i had a sentence with 2 hard returns in between, when i
redisplay this data outsid of the textarea, i want it to have those same 2
hard returns.  i tried wrap="hard" and that didnt work.  
thanks,
bec.


*************************************************
This e-mail, including any attachments, is intended for the 
receipt and use by the intended addressee(s), and may contain 
confidential and privileged information.  If you are not an intended 
recipient of this e-mail, you are hereby notified that any unauthorized 
use or distribution of this e-mail is strictly prohibited. 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to