[Zope] Aligning Images With Text

Loren Stafford lstaffor@dynalogic.com
Wed, 12 Jul 2000 13:06:01 -0700


Image objects have a tag method for setting all the HTML tags:

Try something like (untested):

<dtml-var "yourimageID.tag(align='right')">

... or tested (from one of my sites):

<dtml-var "ClearDot.tag(width='25')">

-- HTH
-- Loren

----- Original Message ----- 
From: "Terry Babbey" <terry@lambton.on.ca>
To: <zope@zope.org>
Sent: July 12, 2000 12:24 PM
Subject: [Zope] Aligning Images With Text


> 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>
> 
> 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 )
> 
>