Limit Child DIV Height to Parent DIV Height With Variable Sibling

Viewed 4340

I have a container <div> with a specified height, and contained within are two more DIVs, on for introductory copy that will vary (entered by the client), and another to list out various features.

I want the features <div> to automatically fill the remaining space in the parent, and then scroll out the overflow.

How do I do that?

CSS:

#article {
    width:940px;
    height:500px
}

#article-content {
    margin: 20px 0;
}

#article-features {
    height:100%;
    overflow-x: auto;
}

jsFiddle

1 Answers
Related