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


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.