How can I automatically scale the HTML5 element to fit the page?
For example, I can get a to scale by setting th
to scale by setting th
Using jQuery you can track the window resize and change the width of your canvas using jQuery as well.
Something like that
$( window ).resize(function() { $("#myCanvas").width($( window ).width()) });