iPhone Compatible Website

by Prasanna Vignesh 14. February 2008 05:17


Most websites and web pages will be compatible and work fine on iphone and Blackberry. However, it’s still possible to make the web sites more supportive, ready and friendly to Apple iPhone by giving more information to iPhone about how the webpage should be displayed on the iPhone browser. Beside, for web sites that try to emulate the functionality of the built-in iPhone applications such as webapps that use Canvas, AJAX functionality and limit the size of the page to 320×480px (or 480×320px), it’s best to ensure iPhone and Blackberry compatibility to ensure that the page is rendered and formatted correctly and avoid problem such as web page or application not scaling properly when rotate and Safari browser zooming out.

One of the best way with just one line change on website coding to make website and web app support iPhone and Blackberry is by telling the PDA phone of the viewport size of the overall page. To do so, simply add the following line to the HTML HEAD section of the web page:

<meta name=”viewport” content=”width=320″ />

viewport is visual formatting model for visual media in CSS 2.1 specification, where it is a window or other viewing area on the screen through which users consult a document (mean part of the screen that you’re actually seeing). User agents may change the document’s layout when the viewport is resized. Other parameters applicable for viewport include initial-scale, user-scalable, minimum-scale and, maximum-scale where you can try to make your website fit into iPhone and BlackBerry view area. The example of usage:

<meta name=”viewport” content=”initial-scale=1.0″ />
<meta name=”viewport” content=”user-scalable=false” />

You can mix the setting u want to use into a single META HTML code such as:

<meta name=”viewport” content=”width=320,user-scalable=false” />

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Tags:

iPhone Development

Comments

12/10/2008 9:43:30 PM #

laptop cases

nice iPhone Compatible Website

laptop cases United States |

8/5/2009 10:37:06 AM #

Mat

Good work...

Mat United States |

10/5/2009 8:35:06 AM #

Jess

Hi,
Companies must look forward to have their websites iPhone compatible rather than running behind iPhone apps for every purpose on iPhone. What a website can offer can never be offered by an app. after some search here is what i found: <a href="http://www.sdplabs.com/made-for-iphone">'Made for iPhone' websites</a> by SDP Labs makes it even simpler and easier to have a iPhone compatible website.
Hope that helps someone.
Thanks for the post

Jess United States |

11/18/2009 5:26:00 PM #

cash loans

Toto ozn�men� o stavu doru.en� je generov�no automaticky.

cash loans United States |

11/28/2009 9:00:23 AM #

mobile application software development

That's great, I never thought about iPhone Compatible Website like that before.

mobile application software development India |

11/28/2009 9:24:30 AM #

enterprise mobility solution

I was just thinking about iPhone Compatible Website and you've really helped out. Thanks!

enterprise mobility solution India |

12/5/2009 6:22:40 PM #

unisys

i dont know iphone got this kind of compatible website.

unisys United States |

12/30/2009 1:57:09 AM #

San Diego Web Designer

I like when people are trying to challenge me, and I appreciate that you maintain a fairly active dialogue with your readers. Couldn't agree any more. Your advice is great.

San Diego Web Designer United States |

12/30/2009 11:56:10 AM #

online personal loans

Interesting ... as always - is your blog making any cash advance ? ;)

online personal loans United States |

12/31/2009 12:11:30 PM #

faxless payday loans

thanks!  very helpful post!! like the template btw ;)

faxless payday loans United States |

1/1/2010 8:20:41 AM #

paydayloans

Interesting ... as always - is your blog making any cash advance ? ;)

paydayloans United States |

1/2/2010 4:47:00 PM #

payday loans

Like your writing! Still you can do some things to improve it.

payday loans United States |

1/4/2010 4:39:21 PM #

cash today

as a good friend of mine always said - statistics have shown that mortality increases perceptibly in the military during wartime.  

cash today United States |

1/5/2010 2:58:33 AM #

Chinese Furniture

I see on your blog as it meet my interests in full.

Chinese Furniture United States |

1/7/2010 3:50:24 AM #

cash loans

Nice post . keep up the good work

cash loans United States |

Comments are closed

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen, Modified by Prasanna Vignesh.



About Me

Prasanna Vignesh Prasanna Vignesh
Mobile application developer at ZSL. More...



RecentPosts

Calendar

<<  March 2010  >>
MoTuWeThFrSaSu
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar