title: html <object> size to fit content of object
body: <p>I'm using the [object] tag to display the text of a .txt file. The object is within a div. When the object loads the text it sets up in a frame, which I can define height and width. However, setting the height to auto, or 100% does nothing. No matter what I do the area in which the text is displayed is small, with scroll bars. I want the div that the object is contained in, along with the object itself, to stretch to show all the text.</p>
  
  <p>Here is the line:</p>
  
  <pre><code>&lt;object type="text/html" data="./docs/description_a.html" style="width:100%; "&gt;&lt;/object&gt;
  </code></pre>
  
  <p>But no matter what I do I cannot get it to stretch based on the length of the text. Any help is much appreciated.</p>