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 trialErick Martinez
2,894 PointsI had to get rid of margin: 0.67em 0; in normalize.css in to get rid of the top margin in h1
Full disclosure: I don't use the workspace. I use Atom script editor and host via Netlify. I don't that should matter tho, right?
I notice the top-margin of h1 wouldn't go away even if I set the style.css h1 to "0". So I open chrome dev tool and noticed the "0" margin in style.css (I did like the video) was crossed out and instead it was displaying the margin: 0.67em 0; from normalize.css stylesheet.
Any idea why guy/gals?
4 Answers
deebird
7,558 PointsWhat order are the stylesheets being loaded?
Erick Martinez
2,894 Points<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="normalize.css"/>
deebird
7,558 PointsThe last takes precedence. So normalize.css will override style.css
Erick Martinez
2,894 PointsThank you very much. I just changed it and you are right! Thank you very much!