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 trialJustin Cantley
18,068 PointsWhy is my body element creating white space at the top of my contact page?
I have 2 pages to my website which are home and contact. For my home page the body element and nav bar stick to the top of my page in small screen sizes, but when I view my contact page in small screen sizes the body element and nav bar drop down and create white space at the top.
Can anyone help me determine what is causing this?
The following link is to the project on my Github profile. https://github.com/JustCant/PersonalProfile
1 Answer
Matthew Long
28,407 PointsLook at the styling on your .card
. There is a 30px margin on it that might be causing your issue. Use developer tools to identify what the issue for certain.
Justin Cantley
18,068 PointsJustin Cantley
18,068 PointsThat was the issue. Thanks!