Thanks Alex! We've tried #HTMLCodeFormat( variable )#, <p>#variable#</p> and #paragraphFormat( variable )# and none of those worked. We ended up doing it like so:
<pre><font face="courier">#variable#</font></pre> It seems that NS doesn't render spaces and fonts as IE does. Thanks for the input. Mark -----Original Message----- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 11:27 AM To: CF-Talk Subject: Re: Nutscrape and PDF question 2: try #HTMLCodeFormat( variable )# On Thu, 15 Nov 2001, Mark Stewart wrote: > All, > > Question 1: > > I have an application that serves up PDF's. The PDF's are created on the > fly and are then served up through <cfcontent>. The displaying of the > PDF works fine in all flavors of IE and NS6, but does not work in NS > 4.72, NS 4.73 and NS 4.75. It works in NS 4.74, albeit opening in a new > window. Do I need to put a <cfheader> in the file that's calling the PDF > through <cfcontent>? Or what am I missing? > > > Question 2: > > In this same application, we're serving up plain text based files that > have been FTP'ed from a mainframe to a non web accessible directory on > our server. We get the file through <cffile> and then output the > variable, wrapping the variable in <pre> tags. Again this works great in > IE and NS6, but not in other flavors of NS, including NS 4.74. If we > move the file to a web accessible directory and then <cflocation> to it, > it works in all browsers. It looks like that NS recognizes some of the > formatting, but not all. That is, some columns are not aligned properly. > At first, I thought it was just a NS issue. But further investigation > points to both a NS issue and a <cffile> issue. Any suggestions here? > > Thanks in advance for all your help! > > Mark Stewart > Programmer/Analyst > CC3 > Phone: 215.672.6900 x1332 > http://www.cc3.com > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

