Sorry Nathan, that doesn't work. It resizes the hyperlink control but not the
image. And if the image is bigger than the width/height specified it will be
overriden to the images specs.
Add in the styles section a descendant selector definition for an img within
the hyperlink like this:
<style>
.HyperLinkedImage1 img{
width:30%;
}
</style>
Thanks for this. I actually ended up greating the cssclass with 100% which
allowed the image to change dynamically as the hyperlink control was resized.
Not sure why it worked but it did and I'm not arguing with it. Got love that
..NET.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.