开发者

Why are some websites not zoomable on iPad?

Does anybody have any idea why iPad zoom (you know, where you use two 开发者_StackOverflow中文版fingers to enlarge the text/screen) does not work on some sites?

For example:

  • facebook.com
  • c3.arc.nasa.gov/nex/ ± the site that I'm working on.

Google search does not reveal anything, which makes me think it’s not a common problem.

Thanks beforehand for any insights.


This lack of zooming is by design; the website has chosen to disallow zooming. It's done with the viewport meta tag. For instance,

<meta name="viewport" content="initial-scale=1, maximum-scale=1">

prevents zooming.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜