Yes. Browsers ignore CrLf in preference to <br> or <p>
I thought you wanted it for printing, or for a <textarea>
Mitch Duszynski wrote:
>
> Thanks for the tips. I am trying it now, but it does not seem to actually
> work. I am using it in this format...
>
> <CFSET CrLf = chr(13) & chr(10)>
>
> but when I use a test display like this...
>
> <CFOUTPUT><B>"CrLf" = A#CrLf#B</B></CFOUTPUT>
>
> All I get is...
>
> A B
>
> Am I doing something wrong?
>
> Mitch
>
> -----Original Message-----
> From: George Farnsworth [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 22, 2000 8:32 AM
> To: CF-Server
> Subject: Re: LineFeeds in Text Fields
>
> Just add chr(13) & chr(10) where you want it. I usually create a
> variable called CrLf that contains those two and then use it whenever I
> need it. Also useful in parsing out stuff containing them.
>
> Mitch Duszynski wrote:
> > How do I add LF/CR to text I wish to enter into a field in a database
> (such
> > as a comment field or multiple lined history field)?
> ------------------------------------------------------------------------------
> To unsubscribe, send a message to [EMAIL PROTECTED] with
>'unsubscribe' in the body or visit the list page at www.houseoffusion.com
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com