title: How to make an iframe responsive with responsiveiframes.js
body: <p>I am testing  responsiveiframes.js to make an iframe responsive, the contest inside the iframe is not responsive. </p>
  
  <p>How can i make it responsive? must the content in the iframe be responsive? is there other option to make an iframe responsive (jquery or something else)?</p>
  
  <p>Thanks a lot.</p>
  
  <p>This is my code</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;!--[if lt IE 7 ]&gt;&lt;html class="ie ie6" lang="en"&gt; &lt;![endif]--&gt;
  &lt;!--[if IE 7 ]&gt;&lt;html class="ie ie7" lang="en"&gt; &lt;![endif]--&gt;
  &lt;!--[if IE 8 ]&gt;&lt;html class="ie ie8" lang="en"&gt; &lt;![endif]--&gt;
  &lt;!--[if (gte IE 9)|!(IE)]&gt;&lt;!--&gt;&lt;html lang="en"&gt; &lt;!--&lt;![endif]--&gt;
      &lt;head&gt;
      &lt;meta charset="utf-8"/&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/&gt;
      &lt;title&gt;ResponsiveIframes.js&lt;/title&gt;
  
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"/&gt;
  
      &lt;!--[if lt IE 9]&gt;
        &lt;script src="http://html5shim.googlecode.com/svn/trunk/html5.js"&gt;&lt;/script&gt;
      &lt;![endif]--&gt;
  
      &lt;!-- Bootstrap CSS --&gt;
      &lt;link rel="stylesheet" href="http://npr.github.io/responsiveiframe/bootstrap/css/bootstrap.min.css" type="text/css" /&gt;
      &lt;link rel="stylesheet" href="http://npr.github.io/responsiveiframe/bootstrap/css/bootstrap-responsive.min.css" type="text/css" /&gt;
  
      &lt;!-- Homepage CSS --&gt;
      &lt;link rel="stylesheet" href="css/index.css" type="text/css" media="screen, projection" /&gt;   
      &lt;script src="http://npr.github.io/responsiveiframe/js/ios-orientationchange-fix.js"&gt;&lt;/script&gt;
      &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"&gt;&lt;/script&gt;  
      &lt;script type="text/javascript" src="http://npr.github.io/responsiveiframe/js/jquery.responsiveiframe.js"&gt;&lt;/script&gt;
      &lt;/head&gt;
  
      &lt;body lang="en"&gt;
  
      &lt;div class="hero-unit bg-noise"&gt;
              &lt;h1&gt;Responsive IFrames&lt;/h1&gt;
      &lt;/div&gt;
  
      &lt;script type='text/javascript'&gt;
              $(function () {
                  $('iframe').responsiveIframe({xdomain: '*'});
              });
      &lt;/script&gt;&lt;div class='row-fluid contentArea'&gt;
  
          &lt;div class='span8'&gt;
          &lt;div style='padding: 10px 0 10px 0; background-color: white;'&gt;
              &lt;iframe src='http://www.cuandoenelmundo.com/' style='width: 100%; height:1000px; padding: 0px;margin: 0; border: none; display: block; overflow: hidden;' /&gt;
          &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;  
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>