I have a div with the following CSS
#mydiv{ top: 50px; left: 50px; width: 200px; height: 200px; }
and my HTML looks like th
Instead of setting absolute widths and heights, you can use percentages:
#mydiv img { height: 100%; width: 100%; }