Skip to main content
Inspiring
May 11, 2006
Question

Remove Spaces

  • May 11, 2006
  • 4 replies
  • 408 views
I have a block of text that renders exactly what is shown below: I have tried everything I can to get rid of the the line space so that the text block renders with out the spaces...

Here is what I have tried: #replace(productdetails,chr(13),'','all'),'<br>','','all')# , yet with no avail... any help on this would be appreciated...
-----------------------------------------------------------------------------------------

Material: Solid Brass

Finish/Color: Antique English

Collection: Distressed

Hole Spacing: 3" (76mm)



Projection: 1" (25mm)

Length: 4 11/16" (119mm)

Width: 1 13/32" (36mm)

----------------------------------------------------------------------
This is what I want it to look like:

Material: Solid Brass
Finish/Color: Antique English
Collection: Distressed
Hole Spacing: 3" (76mm)
Projection: 1" (25mm)
Length: 4 11/16" (119mm)
Width: 1 13/32" (36mm)
    This topic has been closed for replies.

    4 replies

    May 12, 2006
    Are these text lines within <div> tags or are you using css?
    Inspiring
    May 12, 2006
    You sure you want to be replacing chr(13) and not chr(10)? If so, why?
    Inspiring
    May 11, 2006
    This ought to give you errors:

    #replace(productdetails,chr(13),'','all'),'<br>','','all')#

    It's got mismatched parentheses and extra parameters. Not sure what your original text looks like, or how the line breaks get into the display. You'd probably want to look for a pair of line breaks and replace them with a single one.
    Inspiring
    May 11, 2006
    You need to show us the code you're using to output that info.