
Originally Posted by
amberbam
Gotcha.
Can anyone help me with this: I want to make it so that the content scales to fit whatever screen is viewing it. I used this code:
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
If your image was 320px wide then it would fit exactly.
If your image is between 320px and 980px the you probably just need this:
Code:
<meta name="viewport" content="width=device-width" />
Initial scale = 1.0 basically means no scaling and then you would need to scroll to see elements bigger than the device's viewport.
You can find a run down here.
Bookmarks