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

CSS CSS Layout CSS Media Queries The meta Viewport Declaration

Jesse Gonzalez
Jesse Gonzalez
7,322 Points

after i've inserted the new meta for mobile view, and inspecting the elements i'm still seeing space in "mobile" view.

I've double checked my current code and i'm stumped.

On my browser (Firefox) there's an option to 'enable touch simulation' near to the menu to replicate particular device types. Until I enabled that for the first time the new meta entry in index.html didn't seem to work (though now it has no effect either way). Could be a bug in your browser such as that?

1 Answer

Tramel Johnson
Tramel Johnson
4,399 Points

lol same with me. I had the image with the class of ".small-img" at width: 100; instead of 100%. so if anyone has this problem check for any typos.

Tramel Johnson
Tramel Johnson
4,399 Points

<meta name="viewport" content="width=device-width, initial-scale=1.0">