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 trial

HTML How to Make a Website Adding Pages to a Website Build the Contact Page

Rodrigo Teixeira
Rodrigo Teixeira
1,417 Points

Why is the header shifiting in the contact page?

As instructed, I copied the about page code and pasted it in the contact file. After that, I deleted the code between the section tags, as instructed. However, as soon as I typed the h3 tags, my header shifted down, getting away from the top margin of the browser. An interesting fact is that if I change it to h2, instead of h3, the header mantains its correct position. I even tried to aplly the same css style that I used on h2, on h3 headers, but still it didn't work. Can someone help me? Thank You.

1 Answer

Hi Rodrigo, anyway we can see the code?

Rodrigo Teixeira
Rodrigo Teixeira
1,417 Points

Hey fernando. I found out what the problem was. I had an issue with the workspace which I accidentally forked. So i think the page was being load from different workspaces. Anyway, once I deleted both of them and created a new one, to where I copied the old code, the problem was solved. Thank you anyway =D.