1 Sep 2009 22:42
How to add a class attribute to a image
Dominic Marcotte <d.marcotte <at> usherbrooke.ca>
2009-09-01 20:42:52 GMT
2009-09-01 20:42:52 GMT
Hello,
I want to add a class attribute to my img tag.
<informalfigure role="test1">
<mediaobject role="test2">
<imageobject role="test3">
<imagedata role="test4"
fileref="images/articles/common_law.png"/>
</imageobject>
<textobject><phrase>alt</phrase></textobject>
</mediaobject>
</informalfigure>
but the role attribute dont generate a class attribute.
<div class="informalfigure">
<div class="mediaobject">
<img alt="alt" src="images/articles/common_law.png"/>
</div>
</div>
Any idea?
Dominic
RSS Feed