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.


Trying to Add a Contact form to Contact Page

So the website we made in How to Make a Website has a contact page. I was trying to add a contact form to that. Since its a two column layout, I added it to the the div with the id=primary. My question is how can I have the form be centered under the two div's General Information and Contact Details and above the footer. Right now, the footer is right next to the form. I want to at least move the footer down the page. I would change the padding on the footer but then all the other pages will become larger. Can anyone help me on this?

is there anyway I can add pictures so you can see what I mean?

1 Answer

The best way is if you could post code . But if that would work you can add margin : 0 auto; and that would align it to the center of the screen.