I have a div with the following CSS
#mydiv{ top: 50px; left: 50px; width: 200px; height: 200px; }
and my HTML looks like th
You're mixing notations. It should be:
(note, no px). Or:
(using the style attribute) The style attribute could be replaced with the following CSS:
#mydiv img { width: 200px; height: 200px; }
or
#mydiv img { width: 100%; height: 100%; }