and how do I automate it? I want it to expand width/height to the content that it holds.
For example in this fiddle it looks to randomly make a box that is 300px by 200px.
But the content is actually about 10 pages or 8.5 inches by (11*10) inches. A page is 8.5 by 11 inches. I know that I can set the dimensions by simply setting them in the CSS but I want them to adjust to whatever content the iframe holds, that is the content is dynamic.
Fiddle code:
<div id="community">
<div id = "community_outer"></div>
<div id = "community_cover"></div>
<iframe scrolling="no" id="community_frame" src="https://docs.google.com/document/d/1n9bsHIBk1KxGQTKgUF-NG6FRhb4LP0OHfmd4I50CFCU/pub" ></iframe>
</div>