Feeling a bit stuck with this problem and hoping for some help. I did some searching on SO but couldn't find a solution that fits my needs. Below is a snippet of the markup I'm working with:
<div id="wrapper">
<div id="content">
Here is some text
<iframe src="http://www.reddit.com" height="100%" width="100%" />
</div>
<div id="footer"> footer content</div>
</div>
You can check out an example in the following fiddle: http://jsfiddle.net/SaYAw/36/
My goal is to have the wrapper div take up 100% of the page with no white space at the bottom. I want the wrapper div to adjust its height to fit both the "content" and the iframe, automatically resizing the iframe as the screen or browser window size changes. It seems like it should be simple to achieve, but I haven't been able to figure it out. Any ideas on what I might be missing? Ideally, looking for a pure CSS solution.