Make Website and WebApp Compatible with iPhone and Blackberry

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” />


6 Responses to “Make Website and WebApp Compatible with iPhone and Blackberry”

  1. Roney
    July 26th, 2009 22:13
    6

    Hey nice post,
    Companies must look forward to have their websites iPhone compatible rather than runnig behind iPhone apps.

  2. wow
    June 23rd, 2009 22:32
    5

    I read this completely and don’t understand it at all. I don’t understand it because you are a complete idiot. Please go back and look at your grammar.

    This is one sentence?

    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.

  3. Lisa S.
    May 19th, 2009 19:42
    4

    You made some good points there. I did a search on the topic and found most people will agree with your blog.

  4. Jonathan Ellis
    March 25th, 2009 13:34
    3

    http://www.engageinteractive.co.uk/blog/2008/06/19/tutorial-building-a-website-for-the-iphone/#detection

    this is the ultimate guide for building an iphone compatible website

  5. Jorge Linares
    January 6th, 2009 21:12
    2

    Nice post, i’ve been looking for articles about how to design and develop websites compatible with iphone

  6. kim
    December 31st, 2008 11:56
    1

    It looks very simple, thank you :)

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

iphone compatible website - website iphone compatible - website for iphone - iphone website - blackberry web apps - designing web pages blackberry - how to make a iphone website - how to make website blackberry friendly - website iphone - designing web pages for blackberry - make website iphone compatible - make website mobile compatible - blackberry web page design - iphone compatible websites - build iphone website - create iphone website - building websites for blackberry - blackberry compatible website - how to make a website compatible with iphone - creating websites for blackberry - create web page for iphone - create web page for blackberry - creating a page for a blackberry - how to build a website for iphone - make iphone website - website blackberry compatible - blackberry web app - how to make website for blackberry - make my website iphone friendly - make website iphone friendly - websites for iphone - design web pages for blackberry - how to make a web app for iphone - create iphone compatible website - blackberry compatible websites - how can you tell if website is iphone compatible - website compatible with blackberry - blackberry meta viewport - make your site iphone compatible - how to make web pages for iphone - viewing websites on iphone - making a web page for the i phone - creating websites for the iphone - designing a website for blackberry - how to make website for Iphone - how to make a website iphone friendly - How to create an iphone Website - how to create an iphone friendly website - how to make a website iphone compatible - blackberry friendly webpages -