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

CSS

CSS & HTML & Forms

Hi,

I was wondering if anyone can help me?

I am creating a site and it's nearly there but not quite. I am having issues with the check boxes and radio buttons. I also am not sure about some of the layout, as the footer floats to the top on the order page.

http://www.testmethanks.com/test/index.html http://www.testmethanks.com/test/quote.html http://www.testmethanks.com/test/myorder.html

If anyone has free time and likes solving css/html issues I'd love to hear your feedback.

I have been struggling with this for a while and I think I have made some silly errors.

Thanks,

Mary

1 Answer

Almost there. Your footer needs to have negative bottom margin in the exact height of the footer to get it to stick to the bottom.

media="screen" footer { /* margin: 0 auto; */ background-color: #231f20; color: #fff; width: 100% !important; position: relative; overflow: hidden; margin-bottom: -259px !important; }

also take off the margin from media screen and adjust the overflow and you should be good.

media="screen"

  • { /* margin: 0 0 0 0; */ padding: 0 0 0 0; border-width: 0 0 0 0; position: relative; }

Hi Stephen,

Thanks for your answer, that worked really well.

Much appreciated.

Mary