title: SWFObject and Resizing Div
body: <p>I have the following HTML code, what I want to do is to split the page into two divs, and place the object to the left side. However, the swf file covers all of the page, not just the left side. What could be the problem?</p>
  
  <p>Thanks,</p>
  
  <pre><code> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html&gt;
  &lt;head&gt;
   &lt;title&gt;test&lt;/title&gt;
   &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
   &lt;meta name="language" content="en" /&gt;
   &lt;meta name="description" content="" /&gt;
   &lt;meta name="keywords" content="" /&gt;
  
   &lt;script src="js/swfobject.js" type="text/javascript"&gt;&lt;/script&gt;
   &lt;script type="text/javascript"&gt;
    var flashvars = {
    };
    var params = {
     menu: "false",
     scale: "noScale",
     allowFullscreen: "true",
     allowScriptAccess: "always",
     bgcolor: "#FFFFFF"
    };
    var attributes = {
     id:"player"
    };
  
    swfobject.embedSWF("player.swf", "left", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
  
   &lt;/script&gt;
   &lt;style&gt;
     html, body { height:100%; width:100%; }
     body  { margin:0; padding:0;  }
     #left {
      float: left;
      width: 50%;
     }
  
     #right { 
      float: right;
      width: 50%;
     }
   &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div id="container" &gt;
  &lt;div id="left"&gt;
  
    &lt;p&gt;&lt;a href="http://www.adobe.com/go/getflashplayer"&gt;&lt;img 
     src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" 
     alt="Get Adobe Flash player" /&gt;&lt;/a&gt;&lt;/p&gt;
  &lt;/div&gt;
  &lt;div id="right"&gt;Test&lt;/div&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>