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 trialAlfonso Rodriguez
4,206 PointsStill have the line on top of the header
I believe I have followed all the steps correctly but it appears I have made an error due to the small white line that appears above the header. Could I send you me css code so any of you could help me how the fix this? Besides that, the course has been great and I have learned a great deal. Thanks and have a good day!
3 Answers
Howard Slatter
8,049 PointsHard to say without seeing your code, but try this:
body{
margin: 0;
}
Luka Akul
11,481 PointsIf you have heading tags (h1,h2,h3..) in your header, try to put heading margin to 0.
header h1 {
margin: 0;
}
Tünde Matócza
11,194 PointsTry to debug using a webbrowser: Right click on the white line and select Inspect element. By inspecting the element you will see where the white line belongs to. The issue must be that one of your adjacent elements has extra margin.
Juan Jose Cortes Guzman
7,894 PointsJuan Jose Cortes Guzman
7,894 PointsYou can post the code here so we can help you. Read the Markdown Cheatsheet to know how to do it.