Possible Duplicate:
height:100%; not working
I have two divs, one inside another. Both are set to 100% in height. Container (A) is sized properly and fills its parent but its child (B) is not being stretched to its height. When I set container (A) height in pixels, e.g. 500px, its child (B) stretches properly.
But I need container (A) to be set in percents, not pixels. What am I doing wrong?