android - The canvas of my game is zoomed out like on a computer -
i made game html5 made mobile phones. tried , developed firefox os , works on firefox os application.
i tried on android browser (android 2.x) , on ipod running ios 4 or 5 (not sure which), game zoomed out on computer. css, i'm using html5 canvas tag:
body, html { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; } #canvas { position: absolute; } also on firefox os, not work packaged application work inside browser. used default browser on both ios , android.
may not closeness use viewport.? extended article viewport , recomended if use meta viewport on iphone or android(smart phone), put content="width=device-width, initial-scale=1.0" usefull.
Comments
Post a Comment