On Thursday, March 4, 2004, at 10:14 PM, Paul Winkler wrote:

From OFS.Image.tag in zope 2.7.0:

if not 'border' in [ x.lower() for x in args.keys()]: result = '%s border="0"' % result

... that's been in there for about 3 years!
If you want to force no border attribute, you can pass it
a false value.

That's similar to mine:

    if not 'border' in map(string.lower, args.keys()):
        result = '%s border="0"' % result

...but yeah, CSS is better....

Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to