Monday, May 11, 2009

Avoiding Microscopic Web Text on iPhone

You need a meta tag inside your html head tag as follows:

[head][meta name="viewport" content="width=240; user-scalable=false" /][/head]

The tradeoff is: with this meta tag you lose the "pinch" zoom function, but you can control the size of the text really easily with the width parameter. And you can still scroll with your finger.

No comments:

Post a Comment