[Zope-Checkins] CVS: Zope2 - Image.py:1.10
Michel Pelletier
michel@digicool.com
Thu, 19 Apr 2001 15:18:05 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/Products/OFSP/help
In directory korak:/tmp/cvs-serv24654
Modified Files:
Image.py
Log Message:
documented 'css_class'
--- Updated File Image.py in package Zope2 --
--- Image.py 2001/04/17 23:29:25 1.9
+++ Image.py 2001/04/19 19:17:57 1.10
@@ -145,8 +145,12 @@
provided by default, and 'alt' comes from the 'title_or_id'
method.
- Keyword arguments may be provided to support other or future
- IMG tag attributes.
+ Keyword arguments may be provided to support other or future IMG
+ tag attributes. The one exception to this is the HTML Cascading
+ Style Sheet tag 'class'. Because the word 'class' is a reserved
+ keyword in Python, you must instead use the keyword argument
+ 'css_class'. This will be turned into a 'class' HTML tag attribute
+ on the rendered 'img' tag.
Permission -- 'View'
"""