I generally just append a <br> to all the linebreaks. That keeps the hard
returns hard, and allows for soft returns to wrap the text to the allowable
space.
HTH.
-- Ben Doom
Programmer & General Lackey
Moonbow Software, Inc
: -----Original Message-----
: From: Shahzad.Butt [mailto:[EMAIL PROTECTED]
: Sent: Thursday, August 21, 2003 5:45 AM
: To: CF-Talk
: Subject: Text Field
:
:
: I am adding data in text field in sql server 2000. User can see a memo
: box and they can type in long description. All I want is to keep the
: format user typed in so I want to keep all enters, spaces extra entered
: by user in DB. And then when I display result it should show in same
: format but it should also fit in page (with table of 100% width).
: Fitting in page is fine just having 100% width does the job. But how can
: I save data entered by user in same format in DB? When I use
: <Pre>#data#</pre> when inserting in DB then it doesn't fit in page but
: shows everything in one line. Any help??
:
: Thanks
: Shahzad.Butt
: Ph: +44 (0) 1992 701 722
: Fax: +44 (0) 1992 701 604
:
:
:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics.
http://www.fusionauthority.com/signup.cfm