I have this code (actual custom tags removed to protect the innocent): <td><cfsetting enablecfoutputonly="Yes"> <cf_getsomeinfo id="2"> <cf_getsomeotherinfo id="#request.getsomeinfo.imageid#"> <cfoutput><img src="#request.getsomeotherinfo.imagesrc#"></cfoutput> <cf_getsomeinfo id="4"> <cf_getsomeotherinfo id="#request.getsomeinfo.imageid#"> <cfoutput><img src="#request.getsomeotherinfo.imagesrc#"></cfoutput> <cfsetting enablecfoutputonly="no"></td>
Now here's my problem. The output looks like this: <td><img src="path/imagename1.gif"> <img src="path/imagename2.gif"> </td> Now this is really bad. I need to eliminate that extraneous space or the images don't butt up against each other and the design is screwed. After much thought, I did this: <td><cfsetting enablecfoutputonly="Yes"> <cf_getsomeinfo id="2"> <cf_getsomeotherinfo id="#request.getsomeinfo.imageid#"> <cfoutput><img src="#request.getsomeotherinfo.imagesrc#"><!--</cfoutput> <cf_getsomeinfo id="4"> <cf_getsomeotherinfo id="#request.getsomeinfo.imageid#"> <cfoutput>--><img src="#request.getsomeotherinfo.imagesrc#"><!--</cfoutput> <cfsetting enablecfoutputonly="no">--></td> This fixes the problem, because apparently, the extraneous space is being outputed by the </cfoutput> tag. (It couldn't be outputted by one of our custom tags because no custom tag is called between the last </cfoutput> and the <cfsetting>.) Now it looks like: <td><img src="path/imagename1.gif"><!-- --><img src="path/imagename2.gif"><!-- - -></td> But I'm irritated that I have to repeat the functionality of cfsetting enablecfoutputonly="yes" after calling it. Besides, it totally messes up the display in CF Studio. I've searched the Macromedia website for some help, but didn't find anything that applied. Does anybody know if there is a patch for this for version 5? The client specifically asked that we change all <!-- and --> to <!--- and ---> and I really don't want to tell them that those are in there to work around a bug. -- If you hate the interface, blame Kevin. ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

