30 Jan
2000
30 Jan
'00
7:38 p.m.
In article <00013012535805.01520@einstein>, Stephan Richter <srichter@cbu.edu> wrote:
How can I specify the HTML4 'class' attribute on an image?
For example, I want <dtml-var "images.arrow.tag(border='0', class='arrowimg')"> to generate <img src="images/arrow" border="0" class="arrowimg"> but this does not parse because 'class' is a Python keyword!
You could do <dtml-var "images.arrow.tag(border='0', CLASS='arrowimg')"> (but don't tell Randy Pausch ;^)