Try this. Right before your first line of generated content (ie your doctype declaration), insert this code:
<cfscript> getPageContext().getOut().clearBuffer(); </cfscript> That will flush all the output up to that point, and effectively mark the starting point of what content gets sent to the browser. > 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. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 by AdobeĀ® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278778 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

