Skip to content

Instantly share code, notes, and snippets.

@brianleroux
Created September 12, 2011 16:32
Show Gist options
  • Save brianleroux/1211701 to your computer and use it in GitHub Desktop.
Save brianleroux/1211701 to your computer and use it in GitHub Desktop.
quick example of getting 100% w/h
<!DOCTYPE HTML>
<html>
<head>
<meta name=viewport content=width=device-width, user-scalable=no>
<style>
body {
margin:0;
padding:0;
background:blue;
}
</style>
</head>
<body>
<script src=phonegap-1.0.0.js></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment