I\'m trying to display some large images with HTML img tags. At the moment they go off the edge of the screen; how can I scale them to stay within the browser window?
Only set the width or height, and it will scale the other automatically. And yes you can use a percentage.
width
height
The first part can be done, but requires JavaScript, so might not work for all users.