First of all, sorry about that title. I'm not the best at writing those things.
I have a container div (let's call it #container) which contains two divs (#a and #b). I am not in control of the content of these two divs.
I want #container to be the height of #a. I also want #b to stretch (or shrink, depending) to 100% of #container, and have a scrollbar, if necessary.
This sounds like it should be incredibly easy, but I have spent hours trying to get this to work.
If this is not possible, I would settle for this: #container has a fixed height, #b has a fixed height. #a has two block-level elements (#1 and #2) that have uncontrollable heights. #2 should be 100% of #a, minus the height of #1.
Please tell me one of these is possible!