Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS 100% height of floated elements

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40545
    sheepysheep60
    Participant

    This is probably really simple. How do I get the content and sidebar divs to extend the whole way down until they are touching the footer? (without saying something like height:1000px)

    http://codepen.io/sheepysheep60/pen/yjKdl

    Thanks!

    #113048
    amoss
    Participant

    body > #wrap {**height: auto;** min-height: 100%;}

    Try removing height: auto;

    #113051
    mmoustafa
    Member

    change the **body > #wrap** to

    body > #wrap {
    height: 100%;
    box-sizing:border-box;
    padding-bottom:200px;
    }

    But take care, the **box-sizing** property is IE 8+ only.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.