Not sure about Android. But a purely CSS solution works on the iPhone/iPad with 
the Webkit-based Safari browser:

-webkit-text-size-adjust:100%;
I have not confirmed, but perhaps there is also a -moz version.

Rick Gordon

------------------

On 5/26/10 at 11:59 PM +0900, Dave M G wrote in a message entitled
"[css-d] Force no scaling on Android browser?":

>CSS-d,
>
>I asked this question on the Android developer mailing list, but it's
>gone ignored, quite possibly because they think it's beneath them to answer.
>
>I'm hoping someone here might have some idea of how to do this, and
>hopefully be more responsive. I think this within the realm of interest
>to this group, even though the solution might not be strictly CSS based,
>it is about how to get a web page to display correctly.
>
>I am developing a web page that is designed for viewing on an Android phone.
>
>The width is fixed at 320 pixels.
>
>For some reason, when I view my web page on my Android phone (HT-03A),
>it scales the page down, so there is all sorts of extra space on the
>right of the viewport.
>
>I just want the page to remain at a pixel ration of 1:1. No scaling.
>Just leave it as it is.
>
>A while back I got some help on this list which helped me scale my pages
>for iPhones. Basically just with the following meta tag:
>
><meta name="viewport" content="target-densitydpi=device-dpi" content="
>user-scalable=no" content="width=device-width; initial-scale=1.0;
>maximum-scale=1.0;" />
>
>This does make my pages appear the right size on iPhone devices.
>However, the Android still insists on changing the scale of the web page.
>
>How can I get Android to not scale my web page? I want one pixel to be
>one pixel, and leave it at that.
>
>Thank you for any advice.

-- 
___________________________________________________

RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________________

WWW:   http://www.shelterpub.com
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to