Cole made a post on his iPhone blog about the WordPress plugin to make your WP blog look good on iPhone's Safari. It's a complex issue. iPhone is sized kind of like a handheld, it functions kind of like a handheld, but it doesn't display like a handheld since its screen is wider. Safari on an iPhone is an adult scale browser with robust capabilities. I found a post that claims this syntax works, but I'm not familiar with the use of the word "only" :
<link media=”only screen and (max-device-width: 480px)”
href=”iPhone.css” type=”text/css” rel=”stylesheet” />
The W3C pages have quite a bit of info, but nothing is leaping out at me.
Designing with an option for 480 pixel display makes sense. Does this media syntax work? iHope some of our research will look at these things. Apple has some information on their Developer Connection pages. Specifically, they call for Standards based design, listing support for HTML 4.01, XHTML 1.0, CSS 2.1, partial CSS 3, and ECMAScript 3. They also appear to be the original source for the iPhone mediatype code. They go on to say "Older browsers ignore the only keyword and won’t read your iPhone style sheet. (Thanks, Apple.) To specify a style sheet for devices other than iPhone, use an expression similar to the following:
<link media="screen and (min-device-width: 481px)"
href="not-small-device.css" type="text/css" rel="stylesheet" />
Apple also lists info on laying out content for the iPhone viewport, information on readability, image optimization, forms... So should you design for iPhone Safari? I think the heart of standards based design is that you don't design for specific devices. I'd even venture to say that you shouldn't use sniffers, either. But you should at least be concerned that your information is readable on everything that's available.
LATE ADDITION: I just found a page on flickr of all places that opens up a discussion of readable websites on iPhone. Joe Clark has a comment where he asks, "Why doesn’t Safari support the handheld CSS media type?" As much as I like Clark and would love to see him address the Penn State Web Conference, I don't think the iPhone is a handheld.