Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Center my content on Iphone screen @media query
I uploaded my webpage, but its not completed. I have problem when I view my content on iphone. All the contents not centering. Specially about, info and footer divs.I used iOS simulator, but could not figure out how to center contents. If i need to upload media query code let me know.
Matt Campbell9,767 Points
You probably do? There's no link to a site to see. Also, have you put the necessary meta tag in your header to scale the page properly. Without it, it'll just scale the page back down to try and mimic what it looks like on the desktop version.
I'm not by my computer at the moment with code on so can't tell it to you off hand but it's a simple google.