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 How to Make a Website Responsive Web Design and Testing Adjust the Profile Page and Header

Zina Hollman
Zina Hollman
1,714 Points

Cannot get the white space at the top of my header to go away on 2 out of 3 webpages. Cannot find the inconsistency.

On the mobile version the white space is on 2 out of 3 pages, on the wider screen a different page has the problem. I'm assuming that there must be a problem with the main AND responsive versions of the CSS. I've looked at the HTML to make sure the pages are consistently linked correctly to the CSS. Not sure where to look now, or how to override.

Zina Hollman
Zina Hollman
1,714 Points

Found the answer on a previous question. I added the following to my main.css:


{ clear: left; }


1 Answer

Are you putting down media queries in your CSS for view port sizes to adjust for different screen sizes?