Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.