dear all,
i am developing a web page to show on smartphone browsers. when i was testing my page on android, i ran into some strange behaviours.
as usual, there is a development platform, which can be accessed via internal IP, and a production platform, which is open to public.
the strange thing is that web pages show differently between the two platforms. on production platform, everything (images and text) on the page is bigger, as if it has been zoomed in, and it cannot be zoomed out. this happened on android 2.2 browsers (on phones and on an emulator).
however, when i try things on an android 2.1 browser (on a motorola xt701), everything looks fine and identical on both platforms.
this observation has led me to believe that the android 2.2 browsers are using an external html validator, like the The W3C Markup Validation Service. if i enter the address of my development platform, which is an internal IP, to The W3C Markup Validation Service, it cannot validate because The W3C Markup Validation Service cannot reach my internal development platform and therefore, it does not validate the pages on my development platform and does not mess things up.
so my next logical step was to attach a doctype tag at the start of the pages and write the pages conforming to the standards. i have tried html 4 and 5 but things on production platform still appear zoomed in.
by the way, i am using WAMP on both the development and production platforms. and i believe there should not be any critical differences between the two to have caused the problem, because the problem does not exists on android 2.1 browers.
so i am now kind of stuck. any help would be greatly appreciated. thanks!
nokix
i am developing a web page to show on smartphone browsers. when i was testing my page on android, i ran into some strange behaviours.
as usual, there is a development platform, which can be accessed via internal IP, and a production platform, which is open to public.
the strange thing is that web pages show differently between the two platforms. on production platform, everything (images and text) on the page is bigger, as if it has been zoomed in, and it cannot be zoomed out. this happened on android 2.2 browsers (on phones and on an emulator).
however, when i try things on an android 2.1 browser (on a motorola xt701), everything looks fine and identical on both platforms.
this observation has led me to believe that the android 2.2 browsers are using an external html validator, like the The W3C Markup Validation Service. if i enter the address of my development platform, which is an internal IP, to The W3C Markup Validation Service, it cannot validate because The W3C Markup Validation Service cannot reach my internal development platform and therefore, it does not validate the pages on my development platform and does not mess things up.
so my next logical step was to attach a doctype tag at the start of the pages and write the pages conforming to the standards. i have tried html 4 and 5 but things on production platform still appear zoomed in.
by the way, i am using WAMP on both the development and production platforms. and i believe there should not be any critical differences between the two to have caused the problem, because the problem does not exists on android 2.1 browers.
so i am now kind of stuck. any help would be greatly appreciated. thanks!
nokix