views:

381

answers:

2

Hi, all,

I made an html page that has an tag with type equals "text". When I click in it using Safari on iPhone, all the page becomes larger (auto zoom). Does anybody know how to disable it?

Regards,

Eduardo

+1  A: 

Give this a try:

<meta name="viewport" content="width=device-width, user-scalable=no" />
iWasRobbed
A: 
input[type='text'],textarea {font-size:1em;}
stormsweeper
Note that setting user-scalable to no will disable all zooming, which is probably a bad idea.
stormsweeper