title: Resize HTML5 canvas to fit window
body: <p>How can I automatically scale the HTML5 <code>&lt;canvas&gt;</code> element to fit the page?</p>
  
  <p>For example, I can get a <code>&lt;div&gt;</code> to scale by setting the <code>height</code> and <code>width</code> properties to 100%, but a <code>&lt;canvas&gt;</code> won't scale, will it?</p>