Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
jne
12,613 PointsWebsites handle iframe differently
Hi there! I'm working on a project where I use iframe to view my favorite websites. I have a nav bar at the bottom and a 100% iframe above. The setup works good now, but there is one website I visit witch doesn't give me mobile version of the website.(For mobile users for now). That website is rendered like it's a desktop/bigger screen visiting. When I visit that page directly from safari I get a perfect mobile version of that page, but I don't get the same with iframe. Same link is used. Other webpages renders perfectly.
Is there anything I can do with my markup/css/jquery/javascript to fix this?
1 Answer
Jeremy Germenis
29,854 PointsI would guess it is the sites meta viewport setting or lack of it.