A function that detects if the users are browsing from an iPhone, an iPad or an iPod Touch and also adds a matching class name (iphone, ipad or ipod) to the HTML tag for a further easy CSS styling.
This is my own personal reset and restart. It is a combination of several online resets, bug fixes and then a general css framework.
The html is a slightly edited version of the YUI demo page: (http://developer.yahoo.com/yui/examples/reset/reset-simple_source.html)