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 trialMatt Singleton
4,467 PointsHeader and Nav white border issue.
With the Header and nav, there's a small white space around the top and sides. My code is exactly the same, I compared and then copied the project files to be sure.
Why is this happening?
I'm using the same CSS reset, and Chrome.
Matt Singleton
4,467 PointsHere's a Workspace snapshot:
elk6
22,916 PointsSomething might have gone wrong with you reseting styles. I see that you are linking to a normalize.css file inside your css folder, but that file is named reset.css.
But it's a simple fix. If you change the body rule in your main.css to this:
body {
font-family: 'Open Sans', sans-serif;
padding: 0;
}
It will take away the white space.
I would make sure you are linking to the correct reset / normalize file just to be sure though.
Elian
Matt Singleton
4,467 PointsI hadn't realised I had the reset linked incorrectly. It worked, thanks.
elk6
22,916 Pointselk6
22,916 PointsHi Matt,
In order for us to check what's going on, we need to see your code. Can you post it here or snapshot your workspace for us?
Elian