I want to display the image files from any given folder in a WebBrowser object.
Ideally I'd like it so that if an image is narrower than the WebBrowser object it is displayed at its original size, but if an image is wider than the WebBrowser object it automatically resizes (maintaining the aspect ratio) to the width of the WebBrowser object. I want to avoid having to scroll horizontally, in other words.
Can I do this using styles?