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..
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.
精彩评论