Responsive width for iPhone
Posted
by
Alex Marchant
on Stack Overflow
See other posts from Stack Overflow
or by Alex Marchant
Published on 2012-10-25T04:53:18Z
Indexed on
2012/10/25
5:00 UTC
Read the original article
Hit count: 136
This is my first time building a responsive site, and as I tailor the CSS for the iPhone I'm running into a problem. The styles all apply correctly, the text changes size and the wrapper changes widths. The problem is the iPhone browser still opens up at a huge width, see the screenshot:
I'm using
@media all and (max-device-width: 480px) {}
to set the specific iPhone css. body {width:;}
doesn't work.
Thanks for the help :)
© Stack Overflow or respective owner