Quite often if image tags are on seperate lines in your code there will be an extra space...put the <td> tags and the images all in one huge line and see if that helps....mabye even the <tr> tags as well
Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] --------------------------------------------------------- Macromedia Associate Partner www.macromedia.com --------------------------------------------------------- Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com ----- Original Message ----- From: "Terry Troxel" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, August 15, 2003 9:05 AM Subject: Removing extra space between images > I an trying to dynamically build an html table and draw > wall modules and am having a problem with html or CF > adding extra space between images. > > Here is an simplistic example: > > <cfset x = 40><cfset y = 100><cfset z = 50><cfset total = x+y+z> > > <table width="50" cellpadding="0" cellspacing="0"> > <tr> > <td width="50" height="#total#"> > <cfif transom is 1> > <img src="transom.jpg" width="50" height = "#x#"> > </cfif> > <img src="window.jpg" width-"50" height="#y#"> > <cfif kickplate is 1> > <img src="kickplate.jpg" width="50" height = "#z#"> > </cfif> > </td> > </tr> > </table> > > When this table displays there is space between > each of the three images above and below > > If I condense the table into ONE line of code > the spacing goes away and the pictures connect > perfectly together with ZERO spacing period. > > <table width="50" cellpadding="0" cellspacing="0"><tr><td width="50" > height="#total#"><cfif transom is 1> <img src="transom.jpg" width="50" > height = "#x#"></cfif><img src="window.jpg" width-"50" height="#y#"><cfif > kickplate is 1><img src="kickplate.jpg" width="50" height = > "#z#"></cfif></td></tr></table> > > It makes modifying the code or reading it a royal pain. > > Any help would be appreciated. > > Terry Troxel > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com