I have been inserting a figgroup element after each of my image elements, in order to get the figure title to appear below the image, instead of above it as DITA intends it. Problem was, when I set the outputclass on the title element that is a child element of figgroup, the class attribute wasn't appearing in the HTML output.
After much experimentation, I discovered that the solution is to set the outputclass attribute on the figgroup element itself:
<fig>
<image height="103" width="226" align="center"
placement="break" href = "images/DAEditLayoutwindow.gif" />
<figgroup outputclass = "figtitle">
<title>The Edit Window Layout
Window
</title>
</figgroup>
</fig>
This produces the following HTML output:
<span class="figtitle">The Edit Window Layout
Window</span>
then, in my CSS stylesheet, I added :
.figtitle {
font-weight: bold;
font-style: italic;
font-size: 8pt;
}