RE: Space between images

2004-01-02 Thread Hagan, Ryan Mr (Contractor ACI)
Also, if you're still having trouble, your  tag has "cellpadding=0"
twice.  Make one of those "cellspacing=0".

-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 11:27 AM
To: CF-Talk
Subject: Re: Space between images

remove line breaks in the code.  makes it harder to read, i know, but should
resolve the space issue.

  - Original Message - 
  From: Shahzad.Butt 
  To: CF-Talk 
  Sent: Wednesday, December 31, 2003 9:22 AM
  Subject: Space between images

  Folowing is code to show buttons (each button is an image) in my page

  
  
    
    
 
  _expression_="#GetAllUnitPromotionTypeName.PK_UnitPromotionType_ID#">
 
   
  href="">
  .PK_UnitPromotionType_ID#" target="Right" class="sml">
  border="0" name="a" src="">
  
  
   
  href="">
  .PK_UnitPromotionType_ID#" target="Right" class="sml">
  border="0" name="b" src="">
  

   
  href="">
  .PK_UnitPromotionType_ID#" target="Right" class="sml">
  border="0" name="c" src="">
  
  
    
    
  
  

  Problem is that there is space between each button however i want not to
  have space between them and look like a strip.

  Thansk

  Shahzad.Butt
  Ph:  +44 (0) 1992 701 722
  Fax: +44 (0) 1992 701 604 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Space between images

2003-12-31 Thread Shahzad.Butt
you are the man. it works

 
thanks

  _  

From: Bailey, Neal [mailto:[EMAIL PROTECTED] 
Sent: 31 December 2003 16:26
To: CF-Talk
Subject: RE: Space between images

Also try adding (hspace="0" vspace="0") to the image tags. 

Neal Bailey
Internet Marketing Manager
UGA-Association Field Services
E-mail:   [EMAIL PROTECTED]

This email and any files transmitted with it are confidential and
intended
solely for the use of the individual or entity to whom they are
addressed.
If you are not the named addressee you should not disseminate,
distribute or
copy this e-mail.  Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and delete this e-mail from your
system.  If you are not the intended recipient you are hereby notified
that
disclosing, copying, distributing or taking any action in reliance on
the
contents of this information is strictly prohibited.  Thank you.

-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 31, 2003 10:27 AM
To: CF-Talk
Subject: Re: Space between images

remove line breaks in the code.  makes it harder to read, i know, but
should
resolve the space issue.

  - Original Message - 
  From: Shahzad.Butt 
  To: CF-Talk 
  Sent: Wednesday, December 31, 2003 9:22 AM
  Subject: Space between images

  Folowing is code to show buttons (each button is an image) in my page

  
  
    
    
 
  _expression_="#GetAllUnitPromotionTypeName.PK_UnitPromotionType_ID#">
 
   

 
href="">
  .PK_UnitPromotionType_ID#" target="Right" class="sml">
align="left"
  border="0" name="a" src="">
  
  
   

 
href="">
  .PK_UnitPromotionType_ID#" target="Right" class="sml">
align="left"
  border="0" name="b" src="">
  

   

 
href="">
  .PK_UnitPromotionType_ID#" target="Right" class="sml">
align="left"
  border="0" name="c" src="">
  
  
    
    
  
  

  Problem is that there is space between each button however i want not
to
  have space between them and look like a strip.

  Thansk

  Shahzad.Butt
  Ph:  +44 (0) 1992 701 722
  Fax: +44 (0) 1992 701 604
  _ 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Space between images

2003-12-31 Thread Bailey, Neal
Also try adding (hspace="0" vspace="0") to the image tags. 

 
Neal Bailey
Internet Marketing Manager
UGA-Association Field Services
E-mail:   [EMAIL PROTECTED]

 
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you are not the named addressee you should not disseminate, distribute or
copy this e-mail.  Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and delete this e-mail from your
system.  If you are not the intended recipient you are hereby notified that
disclosing, copying, distributing or taking any action in reliance on the
contents of this information is strictly prohibited.  Thank you.

 
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 31, 2003 10:27 AM
To: CF-Talk
Subject: Re: Space between images

 
remove line breaks in the code.  makes it harder to read, i know, but should
resolve the space issue.

  - Original Message - 
  From: Shahzad.Butt 
  To: CF-Talk 
  Sent: Wednesday, December 31, 2003 9:22 AM
  Subject: Space between images

  Folowing is code to show buttons (each button is an image) in my page

  
  
    
    
 
  _expression_="#GetAllUnitPromotionTypeName.PK_UnitPromotionType_ID#">
 
   
  href="">
  .PK_UnitPromotionType_ID#" target="Right" class="sml">
  border="0" name="a" src="">
  
  
   
  href="">
  .PK_UnitPromotionType_ID#" target="Right" class="sml">
  border="0" name="b" src="">
  

   
  href="">
  .PK_UnitPromotionType_ID#" target="Right" class="sml">
  border="0" name="c" src="">
  
  
    
    
  
  

  Problem is that there is space between each button however i want not to
  have space between them and look like a strip.

  Thansk

  Shahzad.Butt
  Ph:  +44 (0) 1992 701 722
  Fax: +44 (0) 1992 701 604
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Space between images

2003-12-31 Thread Charlie Griefer
remove line breaks in the code.  makes it harder to read, i know, but should resolve the space issue.

  - Original Message - 
  From: Shahzad.Butt 
  To: CF-Talk 
  Sent: Wednesday, December 31, 2003 9:22 AM
  Subject: Space between images

  Folowing is code to show buttons (each button is an image) in my page

  
  
    
    
 
  _expression_="#GetAllUnitPromotionTypeName.PK_UnitPromotionType_ID#">
 
   
  href="">
  .PK_UnitPromotionType_ID#" target="Right" class="sml">
  border="0" name="a" src="">
  
  
   
  href="">
  .PK_UnitPromotionType_ID#" target="Right" class="sml">
  border="0" name="b" src="">
  

   
  href="">
  .PK_UnitPromotionType_ID#" target="Right" class="sml">
  border="0" name="c" src="">
  
  
    
    
  
  

  Problem is that there is space between each button however i want not to
  have space between them and look like a strip.

  Thansk

  Shahzad.Butt
  Ph:  +44 (0) 1992 701 722
  Fax: +44 (0) 1992 701 604
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Space between images

2003-12-31 Thread Shahzad.Butt
Folowing is code to show buttons (each button is an image) in my page

 

 
  
  
   
_expression_="#GetAllUnitPromotionTypeName.PK_UnitPromotionType_ID#">
       
 
href="">
.PK_UnitPromotionType_ID#" target="Right" class="sml">
border="0" name="a" src="">
    
    
 
href="">
.PK_UnitPromotionType_ID#" target="Right" class="sml">
border="0" name="b" src="">
    
      
 
href="">
.PK_UnitPromotionType_ID#" target="Right" class="sml">
border="0" name="c" src="">
    
    
  
  
 


 
Problem is that there is space between each button however i want not to
have space between them and look like a strip.

 
Thansk

 
Shahzad.Butt
Ph:  +44 (0) 1992 701 722
Fax: +44 (0) 1992 701 604
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Removing extra space between images

2003-08-20 Thread Joshua Miller
Duh, thanks :) That was pretty silly of me. The problem is you also need
to trim spaces (not just returns). In HTML if you put a single space
before an image then you get a space on-screen, just like if you put a
space before a letter.

You should probably use a more complex RegEx that ignores everything
inside the  tag. Just replacing the returns won't give you the
desired effect.

Thanks,

Joshua Miller
Head Programmer / IT Manager
Garrison Enterprises Inc.
www.garrisonenterprises.net
[EMAIL PROTECTED]
(704) 569-0801 ext. 254
 

*
Any views expressed in this message are those of the individual sender,
except where the sender states them to be the views of 
Garrison Enterprises Inc.
 
This e-mail is intended only for the individual or entity to which it is
addressed and contains information that is private and confidential. If
you are not the intended recipient you are hereby notified that any
dissemination, distribution or copying is strictly prohibited. If you 
have received this e-mail in error please delete it immediately and
advise us by return e-mail to [EMAIL PROTECTED]

*


-Original Message-
From: Hugo Ahlenius [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 20, 2003 2:58 AM
To: CF-Talk
Subject: RE: Removing extra space between images


Filtering out ALL spaces would also mean that you lose the spaces
*inside* the tags. Better to do what I suggested before: use only CRLF
and TABS for indenting/spacing and REREplace those. Or use a more
complicated regexp to only filter for spaces outside the tags.




-
Hugo Ahlenius  E-Mail: [EMAIL PROTECTED]
Project OfficerPhone:+46 8 230460
UNEP GRID-Arendal  Fax:  +46 8 230441
Stockholm Office   Mobile: +46 733 467111
   WWW:   http://www.grida.no
- 






| -Original Message-
| From: Joshua Miller [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, August 19, 2003 15:20
| To: CF-Talk
| Subject: RE: Removing extra space between images
|
|
| Try wrapping everything between the  tags in a 
|  block, then when you display, strip out any returns 
| using ReReplaceNoCase(). That should solve your problem.
|
| 
|   ... Your processing here ...
| 
|
| #ReReplaceNoCase(images,"[[:space:]]","","ALL")#
|
| Joshua Miller
| Head Programmer / IT Manager
| Garrison Enterprises Inc.
| www.garrisonenterprises.net [EMAIL PROTECTED]
| (704) 569-0801 ext. 254
|
| **
| **
| *
| Any views expressed in this message are those of the individual 
| sender, except where the sender states them to be the views of
| Garrison Enterprises Inc.
|
| This e-mail is intended only for the individual or entity to which it 
| is addressed and contains information that is private and
| confidential. If
| you are not the intended recipient you are hereby notified that any
| dissemination, distribution or copying is strictly prohibited. If you
| have received this e-mail in error please delete it immediately and
| advise us by return e-mail to
| [EMAIL PROTECTED]
| **
| **
| *
|
|
| -Original Message-
| From: Terry Troxel [mailto:[EMAIL PROTECTED]
| Sent: Monday, August 18, 2003 11:52 PM
| To: CF-Talk
| Subject: Re: Removing extra space between images
|
|
| I guess I wasn't specific enough for you Mike.
| I have the images displaying perfectly one image wide.
| It's the space between the images above and below I am trying to get 
| rid of.
|
| I have alot of cfif, cfelesif, cfswitch code running between the 
|  tags and when I put it into one line of code it displays 
| perfectly, it's just it becomes impossible to edit, read that's all.
|
| Terry
|
| - Original Message -
| From: "Mike Alberts" <[EMAIL PROTECTED]>
| To: "CF-Talk" <[EMAIL PROTECTED]>
| Sent: Monday, August 18, 2003 1:35 PM
| Subject: Removing extra space between images
|
|
| > You're trying to jam up to 3 50px wide images into a table
| cell that
| > is
| only 50px wide. Put line breaks after your image tags, and set the 
| valign of your table cell to "top".
| >
| > HTH
| >
| > Mike
| >
| > >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:
| > >
| > >
| > >
| > >
| > >
| > >
| > >
| > >   >sr

RE: Removing extra space between images

2003-08-20 Thread Hugo Ahlenius
Filtering out ALL spaces would also mean that you lose the spaces *inside*
the tags. Better to do what I suggested before: use only CRLF and TABS for
indenting/spacing and REREplace those. Or use a more complicated regexp to
only filter for spaces outside the tags.




-
Hugo Ahlenius  E-Mail: [EMAIL PROTECTED]
Project OfficerPhone:+46 8 230460
UNEP GRID-Arendal  Fax:  +46 8 230441
Stockholm Office   Mobile: +46 733 467111
   WWW:   http://www.grida.no
- 






| -Original Message-
| From: Joshua Miller [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, August 19, 2003 15:20
| To: CF-Talk
| Subject: RE: Removing extra space between images
|
|
| Try wrapping everything between the  tags in a
| 
| block, then when you display, strip out any returns using
| ReReplaceNoCase(). That should solve your problem.
|
| 
|   ... Your processing here ...
| 
|
| #ReReplaceNoCase(images,"[[:space:]]","","ALL")#
|
| Joshua Miller
| Head Programmer / IT Manager
| Garrison Enterprises Inc.
| www.garrisonenterprises.net
| [EMAIL PROTECTED]
| (704) 569-0801 ext. 254
|
| **
| **
| *
| Any views expressed in this message are those of the
| individual sender,
| except where the sender states them to be the views of
| Garrison Enterprises Inc.
|
| This e-mail is intended only for the individual or entity to
| which it is
| addressed and contains information that is private and
| confidential. If
| you are not the intended recipient you are hereby notified that any
| dissemination, distribution or copying is strictly prohibited. If you
| have received this e-mail in error please delete it immediately and
| advise us by return e-mail to
| [EMAIL PROTECTED]
| **
| **
| *
|
|
| -Original Message-
| From: Terry Troxel [mailto:[EMAIL PROTECTED]
| Sent: Monday, August 18, 2003 11:52 PM
| To: CF-Talk
| Subject: Re: Removing extra space between images
|
|
| I guess I wasn't specific enough for you Mike.
| I have the images displaying perfectly one image wide.
| It's the space between the images above and below I am trying
| to get rid
| of.
|
| I have alot of cfif, cfelesif, cfswitch code running between the
|  tags and when I put it into one line of code it displays
| perfectly, it's just it becomes impossible to edit, read that's all.
|
| Terry
|
| - Original Message -
| From: "Mike Alberts" <[EMAIL PROTECTED]>
| To: "CF-Talk" <[EMAIL PROTECTED]>
| Sent: Monday, August 18, 2003 1:35 PM
| Subject: Removing extra space between images
|
|
| > You're trying to jam up to 3 50px wide images into a table
| cell that
| > is
| only 50px wide. Put line breaks after your image tags, and set the
| valign of your table cell to "top".
| >
| > HTH
| >
| > Mike
| >
| > >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:
| > >
| > >
| > >
| > >
| > >
| > >
| > >
| > > 
| > >
| > >
| > >
| > >
| > >
| > >
| > >
| > >
| > >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.
| > >
| > > >height="#total#">  >width="50" height = "#x#"> >height="#y#"> >height = "#z#">
| > >
| > >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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


RE: Removing extra space between images

2003-08-19 Thread Ian Skinner
Yes, vertically there is no space, but if you did horizontally there would
be a space between the images, if they are all in the same cell.  Another
fix for all this, is to put each image into it's own cell then you can
control, this also works.

--
Ian Skinner
Web Programmer
BloodSource
Sacramento, CA


-Original Message-
From: Mike Alberts [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 4:03 PM
To: CF-Talk
Subject: Removing extra space between images


No offense, but this just isn't true. I've got code on sites that puts 2
images in a table cell that display one on top of the other without any
space showing in the browser, and not only are the image tags not on the
same line, there's a blank line of white space between them.

Mike

>Unfortunately that is what you need to do as any white space used to make
>your code more readable, will translate into at least one single white
space
>character between each image.
>
>If you would rather use a lot of 's you could try something like
>this at the top of the page.

snip

~|
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


RE: Removing extra space between images

2003-08-19 Thread Joshua Miller
Try wrapping everything between the  tags in a 
block, then when you display, strip out any returns using
ReReplaceNoCase(). That should solve your problem.


... Your processing here ...


#ReReplaceNoCase(images,"[[:space:]]","","ALL")#

Joshua Miller
Head Programmer / IT Manager
Garrison Enterprises Inc.
www.garrisonenterprises.net
[EMAIL PROTECTED]
(704) 569-0801 ext. 254
 

*
Any views expressed in this message are those of the individual sender,
except where the sender states them to be the views of 
Garrison Enterprises Inc.
 
This e-mail is intended only for the individual or entity to which it is
addressed and contains information that is private and confidential. If
you are not the intended recipient you are hereby notified that any
dissemination, distribution or copying is strictly prohibited. If you 
have received this e-mail in error please delete it immediately and
advise us by return e-mail to [EMAIL PROTECTED]

*


-Original Message-
From: Terry Troxel [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 11:52 PM
To: CF-Talk
Subject: Re: Removing extra space between images


I guess I wasn't specific enough for you Mike.
I have the images displaying perfectly one image wide.
It's the space between the images above and below I am trying to get rid
of.

I have alot of cfif, cfelesif, cfswitch code running between the
 tags and when I put it into one line of code it displays
perfectly, it's just it becomes impossible to edit, read that's all.

Terry

- Original Message -
From: "Mike Alberts" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, August 18, 2003 1:35 PM
Subject: Removing extra space between images


> You're trying to jam up to 3 50px wide images into a table cell that 
> is
only 50px wide. Put line breaks after your image tags, and set the
valign of your table cell to "top".
>
> HTH
>
> Mike
>
> >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:
> >
> >
> >
> >
> >
> >
> >
> > 
> >
> >
> >
> >
> >
> >
> >
> >
> >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.
> >
> > >height="#total#">  >width="50" height = "#x#"> >height="#y#"> >height = "#z#">
> >
> >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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: Removing extra space between images

2003-08-18 Thread Terry Troxel
I guess I wasn't specific enough for you Mike.
I have the images displaying perfectly one image wide.
It's the space between the images above and below I am trying to
get rid of.

I have alot of cfif, cfelesif, cfswitch code running between the
 tags and when I put it into one line of code it displays
perfectly, it's just it becomes impossible to edit, read that's all.

Terry

- Original Message -
From: "Mike Alberts" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, August 18, 2003 1:35 PM
Subject: Removing extra space between images


> You're trying to jam up to 3 50px wide images into a table cell that is
only 50px wide. Put line breaks after your image tags, and set the valign of
your table cell to "top".
>
> HTH
>
> Mike
>
> >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:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >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.
> >
> > >height="#total#">  >height = "#x#"> >kickplate is 1> >"#z#">
> >
> >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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Removing extra space between images

2003-08-18 Thread Mike Alberts
No offense, but this just isn't true. I've got code on sites that puts 2 images in a 
table cell that display one on top of the other without any space showing in the 
browser, and not only are the image tags not on the same line, there's a blank line of 
white space between them.

Mike

>Unfortunately that is what you need to do as any white space used to make
>your code more readable, will translate into at least one single white space
>character between each image.
>
>If you would rather use a lot of 's you could try something like
>this at the top of the page.

snip
~|
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

Get the mailserver that powers this list at 
http://www.coolfusion.com


Removing extra space between images

2003-08-18 Thread Mike Alberts
You're trying to jam up to 3 50px wide images into a table cell that is only 50px 
wide. Put line breaks after your image tags, and set the valign of your table cell to 
"top".

HTH

Mike

>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:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>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.
>
>height="#total#"> height = "#x#">kickplate is 1>"#z#">
>
>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

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


RE: Removing extra space between images

2003-08-18 Thread Ian Skinner
Unfortunately that is what you need to do as any white space used to make
your code more readable, will translate into at least one single white space
character between each image.

If you would rather use a lot of 's you could try something like
this at the top of the page.



Now you have to put a  set around everything you want
sent to the client.  Something like this:



















This template should ignore any white space outside of the output tags.  Be
careful about not improperly nesting the output tags, this is untested and
unproven, but HTH.

Personally I find all the extra footpaths more trouble then the line of code
all jammed together, but to each his own.

--
Ian Skinner
Web Programmer
BloodSource
Sacramento, CA


-Original Message-
From: Mike Alberts [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 9:10 AM
To: CF-Talk
Subject: Removing extra space between images


You're trying to jam up to 3 50px wide images into a table cell that is only
50px wide. Put line breaks after your image tags, and set the valign of your
table cell to "top".

HTH

Mike

>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:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>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.
>
>height="#total#"> height = "#x#">kickplate is 1>"#z#">
>
>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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Removing extra space between images

2003-08-18 Thread Mike Alberts
You're trying to jam up to 3 50px wide images into a table cell that is only 50px 
wide. Put line breaks after your image tags, and set the valign of your table cell to 
"top".

HTH

Mike

>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:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>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.
>
>height="#total#"> height = "#x#">kickplate is 1>"#z#">
>
>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

Get the mailserver that powers this list at 
http://www.coolfusion.com


RE: Removing extra space between images

2003-08-18 Thread Hugo Ahlenius
I just encountered this problem recently. What I did: I put the code as I
usually do in a nicely indented way, but enclosed it in a 
block, then I rereplaced all CRLF:s and tabs from that string (I don't use
spaces for indenting), and outputted it. That gives good readability or
using cfscript (compared to having a bunch of images on one line).

/Hugo




-
Hugo Ahlenius  E-Mail: [EMAIL PROTECTED]
Project OfficerPhone:+46 8 230460
UNEP GRID-Arendal  Fax:  +46 8 230441
Stockholm Office   Mobile: +46 733 467111
   WWW:   http://www.grida.no
- 






| -Original Message-
| From: Calvin Ward [mailto:[EMAIL PROTECTED]
| Sent: Sunday, August 17, 2003 13:07
| To: CF-Talk
| Subject: Re: Removing extra space between images
|
|
| I would consider writing this code like so:
|
| 
| cfset x = 40;
| cfset y = 100;
| cfset z = 50;
| cfset total = x+y+z;
|
| transomImage='';
| if (transom is 1)
| transomImage = '';
|
| kickplateImage
| if (kickplateImage is 1)
| kickplateImage = '';
| 
|
| 
| 
| 
| #transomImage##kickplateImage#
| 
| 
| 
|
| - Original Message - 
| From: "Terry Troxel" <[EMAIL PROTECTED]>
| To: "CF-Talk" <[EMAIL PROTECTED]>
| Sent: Friday, August 15, 2003 6:54 PM
| Subject: Re: Removing extra space between images
|
|
| > If you read the bottom of my post you will see that is what
| I am trying
| > to get away from as it is really hard to modify or read the
| code if it is
| > all in one line.
| >
| > Terry
| >
| > - Original Message -
| > From: "Bryan Stevenson" <[EMAIL PROTECTED]>
| > To: "CF-Talk" <[EMAIL PROTECTED]>
| > Sent: Friday, August 15, 2003 1:51 PM
| > Subject: Re: Removing extra space between images
| >
| >
| > > Quite often if image tags are on seperate lines in your
| code there will
| be
| > > an extra space...put the  tags and the images all in
| one huge line
| and
| > > see if that helpsmabye even the  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:
| > > >
| > > > 
| > > >
| > > > 
| > > > 
| > > > 
| > > > 
| > > > 
| > > > 
| > > > 
| > > > 
| > > > 
| > > > 
| > > > 
| > > > 
| > > > 
| > > >
| > > > 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.
| > > >
| > > >  > > height="#total#">  > > height = "#x#"> height="#y#"> > > kickplate is 1> > > "#z#">
| > > >
| > > > 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


Re: Removing extra space between images

2003-08-17 Thread Calvin Ward
I forgot to finish this like: kickplateImage should read kickplateImage =
'';
- Original Message - 
From: "Calvin Ward" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, August 17, 2003 7:07 AM
Subject: Re: Removing extra space between images


> I would consider writing this code like so:
>
> 
> cfset x = 40;
> cfset y = 100;
> cfset z = 50;
> cfset total = x+y+z;
>
> transomImage='';
> if (transom is 1)
> transomImage = '';
>
> kickplateImage
> if (kickplateImage is 1)
> kickplateImage = '';
> 
>
> 
> 
> 
> #transomImage# height="#y#">#kickplateImage#
> 
> 
> 
>
> - Original Message - 
> From: "Terry Troxel" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, August 15, 2003 6:54 PM
> Subject: Re: Removing extra space between images
>
>
> > If you read the bottom of my post you will see that is what I am trying
> > to get away from as it is really hard to modify or read the code if it
is
> > all in one line.
> >
> > Terry
> >
> > - Original Message -
> > From: "Bryan Stevenson" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Friday, August 15, 2003 1:51 PM
> > Subject: Re: Removing extra space between images
> >
> >
> > > Quite often if image tags are on seperate lines in your code there
will
> be
> > > an extra space...put the  tags and the images all in one huge line
> and
> > > see if that helpsmabye even the  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:
> > > >
> > > > 
> > > >
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > >
> > > > 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.
> > > >
> > > >  > > > height="#total#">  > > > height = "#x#"> > height="#y#"> > > > kickplate is 1> > > > "#z#">
> > > >
> > > > 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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: Removing extra space between images

2003-08-17 Thread Calvin Ward
I would consider writing this code like so:


cfset x = 40;
cfset y = 100;
cfset z = 50;
cfset total = x+y+z;

transomImage='';
if (transom is 1)
transomImage = '';

kickplateImage
if (kickplateImage is 1)
kickplateImage = '';





#transomImage##kickplateImage#




- Original Message - 
From: "Terry Troxel" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, August 15, 2003 6:54 PM
Subject: Re: Removing extra space between images


> If you read the bottom of my post you will see that is what I am trying
> to get away from as it is really hard to modify or read the code if it is
> all in one line.
>
> Terry
>
> - Original Message -
> From: "Bryan Stevenson" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, August 15, 2003 1:51 PM
> Subject: Re: Removing extra space between images
>
>
> > Quite often if image tags are on seperate lines in your code there will
be
> > an extra space...put the  tags and the images all in one huge line
and
> > see if that helpsmabye even the  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:
> > >
> > > 
> > >
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > >
> > > 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.
> > >
> > >  > > height="#total#">  > > height = "#x#"> height="#y#"> > > kickplate is 1> > > "#z#">
> > >
> > > 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


Re: Removing extra space between images

2003-08-16 Thread Scott Weikert
At 01:51 PM 8/15/2003 -0700, you wrote:
>Quite often if image tags are on seperate lines in your code there will be
>an extra space...put the  tags and the images all in one huge line and
>see if that helpsmabye even the  tags as well

Also with  tags, if you have a return between the previous tag and the 
, sometimes it'll generate a gap. Like




vs



~|
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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


Re: Removing extra space between images

2003-08-16 Thread Terry Troxel
If you read the bottom of my post you will see that is what I am trying
to get away from as it is really hard to modify or read the code if it is
all in one line.

Terry

- Original Message -
From: "Bryan Stevenson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, August 15, 2003 1:51 PM
Subject: Re: Removing extra space between images


> Quite often if image tags are on seperate lines in your code there will be
> an extra space...put the  tags and the images all in one huge line and
> see if that helpsmabye even the  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:
> >
> > 
> >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > 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.
> >
> >  > height="#total#">  > height = "#x#"> > kickplate is 1> > "#z#">
> >
> > 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

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Removing extra space between images

2003-08-16 Thread Mike Mertsock
I replied to this question in the "Removing Extra Lines" thread - check out 
http://www.houseoffusion.com/lists.cfm?link=m:4:26439:132965

Mike Mertsock
~|
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

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: Removing extra space between images

2003-08-15 Thread Bryan Stevenson
Quite often if image tags are on seperate lines in your code there will be
an extra space...put the  tags and the images all in one huge line and
see if that helpsmabye even the  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:
>
> 
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 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.
>
>  height="#total#">  height = "#x#"> kickplate is 1> "#z#">
>
> 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


Removing extra space between images

2003-08-15 Thread Terry Troxel
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:

















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.

 

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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm