[Zope] Aligning Images With Text

Terry Babbey terry@lambton.on.ca
Wed, 12 Jul 2000 16:01:59 -0400


This worked.
Now if only I could get my dtml-if statement working.
Thanks,
Terry

"R. David Murray" wrote:

> On Wed, 12 Jul 2000, Terry Babbey wrote:
> > Here is my code:
> > <dtml-if "_[ProgCode + 'PIC']">
> > <dtml-var "_[ProgCode + 'PIC']">
> > </dtml-if>
> >
> > 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>
>
> Untested, but I copied most of it from a working method:
>
> <dtml-var "_.getitem('ProdCode' + 'PIC',0).tag(align='right')">
>
> --RDM

--
__________________________________________________________________
Terry Babbey
Technical Support Specialist
Lambton College, Sarnia, Ontario, Canada
__________________________________________________________________