[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: How to stop [random] inserting a line feed
- To: <minivend-users@minivend.com>
- Subject: RE: How to stop [random] inserting a line feed
- From: "JR" <jr@clara.net>
- Date: Sun, 27 Jun 1999 21:16:42 +0100
- Importance: Normal
- In-Reply-To: <01BEC08E.CC7C9BC0.tim@valutech.net>
YES!!!
Tim Shea has solved this one for me, and here is the answer. Almost exactly
as Tim said, but the magic line turned out to be this:
<TD valign="top" align="right">[perl
interpolate=1]$picture='[random]';chop($picture);$picture;[/perl]</TD>
all on one line, to avoid the insertion of extra space. This results in the
.jpg inserted by [random] now being neatly on one line like <TD><IMG
src.....></TD>, so IE4 doesn't see an extra space after the image like you
got previously with the [random] line break
<TD><IMG src.....>
</TD>
which caused this problem of not being able to get two images up against
each other with no space between them.
If anyone wnats to know why this is of any use, it's because I was asked to
place a random image on the right of each page, with a neat red line
immediately under it, and against it, across the page width (got to please
the graphics design team). And I couldn't, until now, get rid of this single
space between the image and the line.
Thanks Tim!!!!
> -----Original Message-----
> From: Tim Shea [mailto:tim@valutech.net]
> Sent: 27 June 1999 19:17
> To: 'jr@clara.net'
> Subject: RE: How to stop [random] inserting a line feed
>
>
> Hi Jerry,
>
> Since this is just a guess, I thought I'd send it directly. You
> may post it to the list if it works:
>
> [perl interpolate=1]
> return chop('[random]');
> [/perl]
>
> Cheers,
> Tim
>
> -----Original Message-----
> From: JR [SMTP:jr@clara.net]
> Sent: Sunday, June 27, 1999 12:36 AM
> To: minivend-users@minivend.com
> Subject: How to stop [random] inserting a line feed
>
> ****** message to minivend-users from "JR" <jr@clara.net> ******
>
> Hi all
>
> Does anyone know if there is a way to prevent the [random] tag inserting a
> line feed immediately after itself? I want to have two images hard against
> each other, and because of this line feed I cannot do this, as IE Explorer
> sees it as a space whatever I do.
>
> Jerry
>
> -
> To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to
> Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
>
>