Skip to content

Instantly share code, notes, and snippets.

@stephenson
Created July 30, 2011 10:07
Show Gist options
  • Save stephenson/1115380 to your computer and use it in GitHub Desktop.
Save stephenson/1115380 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Firmafon</title>
<link rel="apple-touch-icon" href="/images/mobile/iicon57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="/images/mobile/iicon72.png" />
<link rel="apple-touch-icon" sizes="114x114" href="/images/mobile/iicon114.png" />
<link rel="apple-touch-startup-image" href="/images/mobile/istartup.png">
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name = "viewport" content = "initial-scale = 1, user-scalable = no">
</head>
<body>
This is mobile...
</body>
</html>
@irae
Copy link

irae commented Jul 30, 2011

in reply to #html5 question: you are missing the app-capable meta tag.

see here, alongside some javascript tricks: https://github.com/shichuan/mobile-html5-boilerplate/blob/9b9cb4591a092d86b6549036a5b2f90299564550/index.html#L32

@stephenson
Copy link
Author

Hey irae
Thanks! That fixed it, i must have missed it when reading up on it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment