link media="only screen and (max-device-width: 480px)" href="small-device.css" type="text/css" rel="stylesheet"
As he points out, this will not just detect iPhones, but any device with a screen width of 480 pixels or smaller. Few mobile devices have web browsers which support the media query syntax. Presumably this will work with an iPod Touch.
I have now included this in my code for "Adapting web pages for the Apple iPhone and iPod Touch". If someone would like to try that on an iPghone or iPod Touch, I can then advise the Sahana developers if they should include it in their system.
Post a Comment