My test page: http://dev.my-igloo.net/ps-rwd/
I'm trying to think about media queries and change the width of the site to match the width of the browser - the site should work on the iPad and iPhone, and at the moment I'm testing it on the iPad and I'm going a little crazy.
Please keep in mind that the design / layout of the site is not completed at the moment, because I just work with the initial settings here, before I delve into improving everything. I set a different background color for each stylesheet so that it is easy to see which one is loaded.
I have this in my tag:
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
and if I set media queries as follows:
<link rel="stylesheet" type="text/css" href="ps-default.css" />
<link rel="stylesheet" type="text/css" href="ps-default.css" media="screen and (min-width: 769px)" />
<link rel="stylesheet" type="text/css" href="ps-768.css" media="screen and (min-width: 481px) and (max-width: 768px)" />
<link rel="stylesheet" type="text/css" href="ps-480.css" media="screen and (min-width: 321px) and (max-width: 480px)" />
iPad , , , , , , .
? , , , 1.0, .
-:
<link rel="stylesheet" type="text/css" href="ps-default.css" media="screen and (min-width: 1024px)" />
<link rel="stylesheet" type="text/css" href="ps-768.css" media="screen and (min-width: 769px) and (max-width: 1024px)" />
<link rel="stylesheet" type="text/css" href="ps-768.css" media="screen and (max-width: 768px) and (orientation:portrait)" />
<link rel="stylesheet" type="text/css" href="ps-480.css" media="screen and (min-width: 481px) and (max-width: 767px) and (orientation:landscape)" />
<link rel="stylesheet" type="text/css" href="ps-480.css" media="screen and (max-width: 480px) and (orientation:landscape)" />
iPad 768, - , .
: http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html#//apple_ref/doc/uid/TP40008193 . , , , , , .
- , - .