Also if using Application.cfc, use output="false" for the component and for all the methods (unless of course one of the methods is supposed to generate content, in which case cfsilent is still worthwhile where possible).
On 5/21/07, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]> wrote: > It is no doubt coming from the Application.cfc/Application.cfc. Try > using cfsetting/cfsilent carefully within these files and you will greatly > reduce the whitespace. CF7 does a better job at whitespace than previous > server incarnations but it still needs work. > > > > > > -----Original Message----- > From: Tarek Jubaer [mailto:[EMAIL PROTECTED] > Sent: 21 May 2007 11:54 > To: CF-Talk > Subject: Extra space in rendered code > > Hi > I'm developing an application. in the application.cfm file included > _constant.cfm file which configures the site constants. In the default.cfm > file there is a switch case to include header,body and footer based on the > query string. > In the rendered code, i'm getting lots of blank line just before the > starting html tag. > > How can i remove these extra blank lines? > > please help. thanks in advance. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278731 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

