Skip to content Skip to sidebar Skip to footer

Showing Mobile Friendly Web Page Without Having To Zoom In

I'm trying to create a mobile friendly web page using the code below. When I view it over a HTC desire I have to zoom in to see the correct size. How can I get it to display normal

Solution 1:

I'm not sure if the HTC supports the viewport meta tag the same way the iPhone does, but you can try:

<metaname="viewport"content="width = 320" />

(or some other width) or:

<metaname="viewport"content="initial-scale=1" />

Solution 2:

AFAIK only webkit based browsers respect viewport. If you don't set size for table and div and keep mobile doctype most of the browsers should fit it properly to the screen

Post a Comment for "Showing Mobile Friendly Web Page Without Having To Zoom In"