[Zope] Aligning Images With Text
Terry Babbey
terry@lambton.on.ca
Wed, 12 Jul 2000 15:51:18 -0400
I get an error message when I try your code.
Expression (Python) Syntax error:
unexpected EOF while parsing
, for tag <dtml-call "REQUEST.set('image1', _[ProgCode + 'PIC']">, on
line 32 of
display_html
Gregory Haley wrote:
> Terry Babbey wrote:
> >
> > Here is my code:
> > <dtml-if "_[ProgCode + 'PIC']">
> > <dtml-var "_[ProgCode + 'PIC']">
> > </dtml-if>
> >
> You might create a dtml variable with a dtml call, e.g.,
>
> <dtml-call "REQUEST.set('image1', _[ProgCode + 'PIC']">
>
> Then use your image html tag as
>
> <img src="<dtml-var image1>" align="right">
>
> ciao!
> greg.
>
> > What I would like to do is align the picture to the right of my web
> > page. If I was programming html I would do it like this: <img
> > src=T043PIC align=right>
> >
> > Any help?
> > Terry
> >
> > --
> > __________________________________________________________________
> > Terry Babbey
> > Technical Support Specialist
> > Lambton College, Sarnia, Ontario, Canada
> > __________________________________________________________________
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope-dev )
--
__________________________________________________________________
Terry Babbey
Technical Support Specialist
Lambton College, Sarnia, Ontario, Canada
__________________________________________________________________