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 trialMegan Kaal
367 PointsWhite space - Chrome vs Firefox
I have done the code exactly as show in the video. When I open my webpage in Chrome the white space at the top is still present. When I open it in Firefox the white space is gone. What is going on?
1 Answer
Ryan Field
Courses Plus Student 21,242 PointsDifferent browsers have different default stylings (margins, padding, etc.), so a website could have subtle differences from one browser to another. One way to help minimize these differences is to use the normalize.css stylesheet before all your other stylesheets. This will attempt to make sure that all default styles are consistent from browser to browser, making much easier to ensure your site looks the same everywhere.