Treehouse: Grow your CSS skills. Land your dream job.

Javascript EqualHeight Fix???

  • # December 22, 2011 at 7:20 pm

    I had used this on another page and it made the columns level out perfectly.

    There is a gap under the main content area, but editing margin-height in the style.css file doesn’t seem to fix it.

    What can I do to fix this?


    # December 23, 2011 at 5:44 am

    The height is not equals because second column has additionally padding-top, padding is not included in height in the box model. Try to add padding-top top inside element, or use css property box-sizing: border-box

    # December 23, 2011 at 11:19 am

    Thank you Dan, you are the best

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.