learning:

the div containing the img automatically assumes the full width of the
page. I adjusted the width of #img to only contain that img