Adrian, Merging all CSS and JS into a single download is done all the time in the ASP.NET world. I think this would be considered a best-practice for Web-site programming. You should be able to keep the .css extension on the original file and cfinclude it into the cfm file. This is easier to pull off in ASP.NET thanks to the powerful Visual Studio IDE.
In .NET Web sites the file that bundles all these linked resources together is named "WebResouce.axd." You will see this if you view source on the Microsoft.com home page. So if you want to read about pitfalls with this technique, it is probably well documented on the MSDN Web site or by googling WebResource.axd. -Mike Chabot On Wed, Jan 21, 2009 at 11:54 AM, Adrian Lynch <cont...@adrianlynch.co.uk> wrote: > I've done it in the past and it's never been a problem, but I'm wondering if > there is ever a reason not to have the following: > > <link type="text/css" rel="stylesheet" href="a-cf-page.cfm" /> > > Do any browsers complain that it's not a .css file? > > I think it'll be ok but does anyone know different? > > One downside, opening a .cfm page in the IDE, you might not get the syntax > highlighting etc. > > I suppose the same question goes for scripts too. > > Adrian > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318289 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4