lse123 — 2013-06-08T07:32:45-04:00 — #1
<meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0" />
p.376, Sitepoint, css3 4e
what do? is really needed?
This whole meta tag is valid today or somewhat modified?
force — 2013-06-08T16:21:36-04:00 — #2
I typically just use this:
<meta name="viewport" content="width=device-width">
Basically, it forces mobile browsers to display the website at their native resolution, rather than allow the site to spill outside of the viewing area of the screen, requiring the user to scroll and zoom.
paulob — 2013-06-09T04:57:07-04:00 — #3
Support for target-densitydpi is being withdrawn so should not really be used.
Some useful info here.
lse123 — 2013-06-11T07:08:26-04:00 — #4
, maximum-scale=1 // this is for hybrid apps no zoom in, but not for web-apps that need scale if required? correct?
paulob — 2013-06-11T07:59:41-04:00 — #5
You should use: <meta name="viewport" content="width=device-width, initial-scale=1"> which will allow the user to zoom if required as maximum-scale=1 will stop pinch and zooming.
picnictutorials — 2013-06-11T11:15:29-04:00 — #6
Please don't ever stop pinch and zoom. Without I can't read most things comfortably.
lse123 — 2013-07-01T09:42:46-04:00 — #7
viewport meta tag is only for HTML5 web pages?
paulob — 2013-07-01T10:14:17-04:00 — #8
No, its valid for html4/xhtml also.