开发者

iphone css help

I want to make css for iphone .. but I cant.. for example I make a div and gave it width:320 and height: 480px then join from iphone blabla.html.. it look too small

I want full screen 开发者_StackOverflow中文版(320x480)

sample picture..

iphone css help


I think what you want is to add this in your <head>:

<meta name="viewport" content="width=device-width">

You should read about viewport and screen sizes, for instance here as well as media queries.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜