how to make content of a web page fully scaled whatever the wi开发者_如何学Godth/height of the device visible portion is?
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
works as a meta tag as well, if you want to let users scale the site just do not use minimumscale, maximumscale and user-scalable attributes.
In iphone
webview.scalesPageToFit = YES;
All the best.
精彩评论