[Zope] Aligning Images With Text

Gregory Haley ghaley@venaca.com
Wed, 12 Jul 2000 15:47:01 -0400


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 )