My External Memory

iphone web development notes

July 9 2010 11:41:30 AM
The iPhone allows you to initiate a call directly from a link on your web page. It will convert the phone number from clickable link that initiates a call:


BigDaddy
555-1515

CSS

iphone specific css - test


Older browsers ignore the only keyword and won’t read your iPhone style sheet. To specify a style sheet for devices other than iPhone, use an expression similar to the following:

 href="not-small-device.css" type="text/css" rel="stylesheet" />

Default Zoom

Instruct mobilesafari to zoom into website content by default to minimize panning.  set a viewport width to the width of the device at the head of your html file:


Set initial scale and turn off scaling in the html head as well:

Comments Disabled

<$DXTemplateBlock Name="HTMLBottom My Brain"$>