Jaci,
> Here is the template the container is using:
> <cfoutput><cfif isdefined("stObj.imageID") and len(stObj.imageID)>
> <a href="#stObj.link#"><widge:imageDisplay objectid="#stObj.imageID#"
> alt="#stObj.title#" ImageSize="original" bFailToTitle="false"
> class="border-px"></a></div></cfif></cfoutput>
I haven't been following this thread so I don't know exactly what you're
main goal is, but with regards to spaces I see spaces all over the place
there.
I'll explain:
When any CF tag (or CF remark tag) is placed within a <cfoutput> block it
tends to add whitespace. On top of that, custom tag calls within <cfoutput>
tags can add even heaps more whitespace.
To resolve this issue the only option I know of is to pull them out of the
<cfoutput> block.
Using your example above this might be one solution:
<cfif isdefined("stObj.imageID") and len(stObj.imageID)>
<cfoutput><a href="#stObj.link#"></cfoutput>
<widge:imageDisplay objectid="#stObj.imageID#"
alt="#stObj.title#" ImageSize="original" bFailToTitle="false"
class="border-px">
<cfoutput></a></div></cfoutput>
</cfif>
Its messy I know, but I've battled this issue again and again with Tom
Jordahl from Adobe who just doesn't seem to want to acknowledge this as a
bug or problem in CF :).
---
Jeff Coughlin
Web Application Developer
http://www.jeffcoughlin.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---