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 - designing web pages for blackberry - designing web pages blackberry - iphone compatible websites - create iphone website - website iphone - how to make a website compatible with iphone - blackberry web apps - create web page for iphone - make website iphone compatible - make website blackberry compatible - blackberry compatible website - how to make website for iphone - how to make a iphone website - blackberry web app - blackberry website design - design website for blackberry - blackberry compatible websites - create webpage for iphone - make iphone website - creating websites for blackberry - how to make an iphone website - making an iphone website - blackberry meta viewport - make your site iphone compatible - viewing websites on iphone - web design for blackberry - create web page for blackberry - create blackberry website - how to make a webpage for iPhone - how to create a web page for iphone - how can you tell if website is iphone compatible - website compatible with blackberry - building websites for blackberry - how to make a website blackberry friendly - make your website mobile compatible - how to make website blackberry friendly - make website iphone friendly - make a website iphone friendly - blackberry viewport - how to make web pages for iphone - create iphone compatible website - make an iphone website - make website mobile compatible - how to create web page for iphone - resize website for iphone - web design blackberry -