CSS for the iPad
The iPad is coming and the developers already received the iPad Simulator. The new XCode beta also includes Mobile Safari. You can use specific CSS for websites on devices like the iPad.
If you want to use a CSS modification for the iPad (as I do), this is how you tell the iPad to use an additional CSS file:
<link rel="stylesheet" media="only screen and (max-device-width: 1024px)" href="../ipad.css" type="text/css" />
Because most other and older browsers don’t know how to handle this type of media string they won’t interpret it. And even if that’s nevertheless the case, you can imagine that it might even be a good thing that more 1024px-wide devices and screens render the page with this CSS file. The ipad.css will be interpreted by the iPhone, too. So if you need some specific CSS also for the iPhone, you proceed equally but with max-device-width: 480px.
This site shows how to implement the rotation mode (portrait or landscape).

Recommended Resources…
[…]the time to read or visit the content or sites we have linked to below the[…]…