2

I'm working on a website and I'm trying to format it properly to also work on an iPhone. When you visit the page on an iPhone, it does what the media query says however everything is really small. It doesn't zoom in like I expected it would. I want the website to take up the whole screen on the phone.

An image is attached to this and a link to my website is: http://vacavall.mysite.syr.edu/weather_rc

here's a link to see what it looks like on an iPhone: https://www.dropbox.com/s/yspa45cl923q4wg/IMG952876.jpg

thanks

4

1 に答える 1

1

You need to tell the viewport to use the device's width as opposed to its default. Drop the following into your <head> and see if this resolves the issue:

<meta name="viewport" content="width=device-width">

Read further in the Safari Developer Library.

于 2012-05-06T00:16:22.240 に答える