Gerald Richter wrote:
> 
> >
> > Why doesn't this work:
> > <tr[$ if ($ctr%2 != 0) $]BGCOLOR="#cccccc"[$ endif $]>
> >
> > Yet this works:
> > <tr [$ if ($ctr%2 != 0) $]BGCOLOR="#cccccc"[$ endif $]>
> >
> > The only difference is the space between <tr and [$
> >
> > Is this a bug in Embperl or me?
> >
> 
> The problem is that if the if is true you get
> 
> <trBGCOLOR="#cccccc">
> 
> and trBGCOLOR isn't a know HTML tag. So either a space before or after the
> if is required.
> 
> Gerald

No, the first case does have a space before BGCOLOR... I just emailed
the wrong thing.... please see my follow-up email from yesterday. Thank
you.

ilia.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to