I can get images scaled to fill the window when they are content, for example: (without any html5 or div)
<style type="text/css"> img { width:100%; height:100%; margin:0px; } </style>
and
<img src="wacard.png" alt="original image" title="">
but
this fails (both "html, body" and "body")
<style type="text/css"> body { width:100%; height:100%; margin:0px; } </style>
and
<body style="background-image: url(wacard.png);"> </body>
as selected, taken from here: Resize HTML5 canvas to fit the window , but as far as I understand, this should have even more fantastic code than I know, I continue, ... or am I doing something wrong ...
How can I get background images? (ideally without javascript)
digit source share