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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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  -  [EMAIL PROTECTED]
> 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 )
> 
> 


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to