开发者

How to make web page fill iPhone browser?

I'm writing an ASP.NET web site targeted at cellphones.

The pages appear fine on a Nokia browser, but on the iPhone, the text is all squashed up into th开发者_如何学Pythone top left hand corner of the page.

Is there some way of making the mobile browser automatically zoom in to fit the text on the page?


You might want to have a look at this:

User Experience Coding How-To's for Safari on iPhone

It provides information on user scaling / zooming as well as conditionally loading CSS for iPhone/iPod specific devices.


Put this inside your head:

<meta name="viewport" content="width=device-width, initial-scale=1" />
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜