title: How to enforcing the size of embed tag to the size of div tag?
body: <p>how can I enforce the size of embed tag to the size of div tag, I can change the size of embed tag to be the same as div tag but I want to get full reslotion of embed tag ( the embed tag is used for webcam ) </p>
  
  <pre><code>&lt;div style="background-color: #111; width: 80%; height:500px; margin-left: auto; margin- ight: auto; "&gt;      
  
  &lt;embed id="webcam_movie" wmode="Transparent" src="../Scripts/webcam.swf" loop="false" menu="true" quality="best" bgcolor="#ffffff" name="webcam_movie" allowscriptaccess="always" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="shutter_enabled=1&amp;amp;shutter_url=../Scripts/shutter.mp3&amp;amp;width=800&amp;amp;height=600&amp;amp;server_width=800&amp;amp;server_height=600" height="600" width="800" align="middle"&gt;  
  
  &lt;/div&gt;
  </code></pre>