Thursday 27 January 2011

Setting the initial screen scaling in iPhone, iPod and iPad

To try and force the contents of a page to fit the width of an iPhone, iPod touch or iPad screen rather than scale the view to fit the window, add the following to the head section of an html page

<meta name="viewport" content="width=device-width" >

No comments:

Post a Comment