Adding a class attribute on the Image tag generated by the hyperlink control
<p>I have a hyper link control and I set the NavigateURL and the ImageURL property at runtime. I also need to set the class of the image tag that it generates but I cannot figure out how I can do that. The solution mentioned here</p>

<p><a href="http://stackoverflow.com/questions/1428879/apply-css-class-to-image-in-asphyperlink">http://stackoverflow.com/questions/1428879/apply-css-class-to-image-in-asphyperlink</a></p>

<p>does not work because the image url is hard coded.</p>

<p>any ideas?</p>
