title: Using JavaScript to load HTML into DIV
body: <p>I'm trying to load some HTML into a DIV using JavaScript, but I can't alter the size of the DIV frame, no matter what I try. All I get is a small little frame in the middle of the browser window. I've tried CSS. I've tried 'width:' and 'height:'. Here's my code:</p>
  
  <pre><code>&lt;div id="main"&gt;
  &lt;/div&gt;
  &lt;script type="text/javascript"&gt;
      document.getElementById('main').innerHTML =
          '&lt;object type="type/html" data="welcome.html"&gt;&lt;\/object&gt;';
  &lt;/script&gt;
  </code></pre>
  
  <p>Don't concern yourself about <em>why</em> I want to do this -- it's part of a greater coding experiment.</p>