I inserted an image into a doc using the <dtml-var > tag. I'm using the image as a link and I want to insert "border=0" in the tag. Is this possible _without_ using the <img> tag instead of the <dtml-var > tag. Shalabh
Sure... Instead of: <dtml-var myimage> try: <dtml-var "myimage.tag(border=0, alt='sometext', width='')"> Shalabh Chaturvedi wrote:
I inserted an image into a doc using the <dtml-var > tag. I'm using the image as a link and I want to insert "border=0" in the tag. Is this possible _without_ using the <img> tag instead of the <dtml-var > tag.
Shalabh
_______________________________________________ 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 )
-- Chris McDonough Digital Creations, Inc. Zope - http://www.zope.org
On 11/28/99 11:23 AM, Chris McDonough at chrism@digicool.com wrote:
Sure...
Instead of:
<dtml-var myimage>
try:
<dtml-var "myimage.tag(border=0, alt='sometext', width='')">
I'll just note that the ALT attribute comes from the 'title' attribute of the Image if provided. Chris -- | Christopher Petrilli Python Powered Digital Creations, Inc. | petrilli@digicool.com http://www.digicool.com
participants (3)
-
Chris McDonough -
Christopher Petrilli -
Shalabh Chaturvedi