> I have a memo field in Access which I'm pulling out using <cfoutput
> query="myquery"><pre class="bodytext">#newsMessage#</pre></cfoutput>
>
> It's inside a table, but looks awful as it's not wrapping. I need to use
> <pre> because of the linebreaks and spacing in the Memo field -
> but how can I wrap it normally?
Yeesh - Avoid <PRE> unless you REALLY want it in that format
Form simple carriage return layout either use ParagraphFormat() or (if
you're not happy with that) Replace(myField,Chr(13),"<br>","all")
Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists