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.

CSS Online Registration Form

Jonathan Meine
seal-mask
.a{fill-rule:evenodd;}techdegree
Jonathan Meine
Front End Web Development Techdegree Student 10,944 Points

Online Registration Form project layout issues

This one is driving me bonkers! I've got everything else nailed at this point for the two mock-ups in the Registration Form project. The one thing that's eluding me still is getting the form fields to line up flush with the outer margins vertically, so they completely fill the allotted space. My submit button does this, but all the input fields and labels in the form seem auto-padded somehow, so aren't flush with the submit button. I've tried everything possible with width, margin and padding settings to get rid of this, but haven't found a solution that works satisfactorily. Thanks in advance for any assistance.

Jonathan Meine
seal-mask
.a{fill-rule:evenodd;}techdegree
Jonathan Meine
Front End Web Development Techdegree Student 10,944 Points

Update - I think I solved my issue finally by applying negative 10px left and right margins to my two form fieldsets. This pulled all the form elements out so they lined up flush with the submit button and form dividers. So looks like I'm good to go!

Taylor Espejo
Taylor Espejo
3,939 Points

Hey mate did you solve this in the end ?

1 Answer