The whitespace is the CF code stripped out and whitespace left in it's place
..

There are a number of custom tags that are in the Developers Gallery that do
this, you can turn off whitespace in CFADMIN (but that is not the best).  Or
you can roll your own custom tag, here is some code that works pretty well
to wrap around Non-output stuff.

Create a file called something like: clearspace.cfm

Put this in it:

<cfif thistag.executionmode is "end">
 <cfset thistag.generatedcontent = "">
</cfif>

The wrap your non-output cf code like this:

<cf_clearspace>
... CF code
</cf_clearspace>

It removes the whitespace...



----- Original Message -----
From: "Chris Edwards" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, September 04, 2002 10:02 AM
Subject: extra lines in html output


> Why are there like 300 lines of whitespace before the html tag when I view
> the output from my cfm templates?  And how do I make it go away?
>
> thanks.
> --
> Chris Edwards
> Web Application Developer
> Outer Banks Internet, Inc.
> 252-441-6698
> [EMAIL PROTECTED]
> http://www.OuterBanksInternet.com
>
>
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.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