That's a GREAT idea Les! Always wondered how to avoid having to manually enter the header and footer calls on a per page basis.
Only problem is that it's CF7 only. Soon... <!----------------//------ andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//---------> -----Original Message----- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 1:34 PM To: CF-Talk Subject: Re: removing whitespace from within CFC output I've got the same sort of problem going on here: http://www.columbiacityjazz.com Do a view source. Basically, it's a CSS source ordered layout (content first), using an Application.cfc file to call headers and footers set up as: header.cfm (includes the left nav too) body.cfm (stuff in middle) footer.cfm (uhh - footer) I've got my almost the entire contents of my Application.cfc file wrapped in CFSILENT, and I've STILL got 25 lines of white space at the top of every page and I've *NO* idea where it's coming from! Ideas? Application.cfc look like: <cfcomponent output="false"> <cfsilent> <!--- RUN ON PAGE REQUEST START---> <cffunction name="onRequestStart" returnType="boolean" output="true"> <!--- Any variables set here can be used by all our pages ---> <cfset ...a BUNCH OF STUFF HERE <!--- Display our Site Header at top of every page ---> <cfinclude template="SiteHeader.cfm"> <cfreturn true> </cffunction> <!--- Display our Site Footer at bottom of every page ---> <cffunction name="onRequestEnd" returnType="void" output="true"> <cfinclude template="SiteFooter.cfm"> </cffunction> --SOME MORE CRAP AND FUNCTIONS HERE </cfsilent> </cfcomponent> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234739 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

