Android browser scaling?

Posted by Joren on Stack Overflow See other posts from Stack Overflow or by Joren
Published on 2010-04-20T07:49:05Z Indexed on 2010/04/20 7:53 UTC
Read the original article Hit count: 246

Filed under:
|
|
|

I'm trying to create a mobile website for android. When I set the width of the body to 480px (the width of the screen) the result is about 50% larger than what I expect. It seems that android is scaling what it draws and messing up all my layouts. Does anyone know how to disable this, or work around it?

I'm already using this:

<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />

© Stack Overflow or respective owner

Related posts about android

Related posts about mobile