HTML5 - width=100% not valid problem
In my HTML I have this code:
And it displays just fine.
<img alt="My website pages" title = "My website pages" width="100%" height="150px" src="http://simpg.net/sys_images/simplepage.png" >
But when I validate it I get:
Bad value 100% for attribute width on element img: Expected a digit but saw % instead.
If I take out the width="100%" then the image doesn't stretch across the screen and doesn't look so good.
Is there an "official" way to stretch the image to fill the screen width ?