When I try to run the following:
//This is a 200x200 image
Add overflow:auto; to #container
overflow:auto;
#container
(Explanations below)