I'm trying to show a fairly large image on a page on my site. I want it to be re-sized dynamically depending on the user's resolution, so that it takes up the same percentage of screen on every monitor. How would I do that?
A:
Use the percentage values rather than pixels:
<img src="path here" width="100%" />
Sarfraz
2010-07-19 21:38:15
But not both height and width, set only one property and the image will scale.
Dustin Laine
2010-07-19 22:18:34