Go fullscreen by size the div in CSS. You must also size the html and body elements, setting each of them to 100% width and height