Edit in JSFiddle
CSS
#viewer { width: 400px; height: 300px; }