title: Embedded pdf in Bootstrap not full height
body: <p>I am having a problem with my embedded pdf on this page. <a href="http://portsmouthgreekfestival.com/sponsorship-1.html" rel="nofollow noreferrer">sponsorships</a> The previous version of this site was html4 and embed was done with the object tag like this</p>
  
  <pre><code>  &lt;object data="pdf/GreekFestSponsorship2013.pdf" type="application/pdf" width="100%" height="700px"&gt; 
    &lt;p&gt;It appears you don't have a PDF plugin for this browser.&lt;/p&gt;
    &lt;p id="missing-pdf-plugin"&gt;You can &lt;a href="pdf/GreekFestSponsorship2013.pdf"&gt;click here to download the PDF file&lt;/a&gt;.&lt;/p&gt;
    &lt;/object&gt;
  </code></pre>
  
  <p>This is the new code 
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>/* Flexible iFrame */
   
  .flexible-container {
      position: relative;
      
      height: 0;
      overflow: hidden;
  }
   
  .flexible-container iframe,   
  .flexible-container object,  
  .flexible-container embed {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
  &lt;meta charset="utf-8"&gt;
  &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
  &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
  &lt;!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --&gt;
  &lt;title&gt;Greek Festival Portsmouth NH&lt;/title&gt;
  &lt;!-- Bootstrap Core CSS --&gt;
  &lt;link href="css/bootstrap.min.css" rel="stylesheet"&gt;
  &lt;!-- Custom CSS: You can use this stylesheet to override any Bootstrap styles and/or apply your own styles --&gt;
  &lt;link href="css/custom.css" rel="stylesheet"&gt;
  &lt;link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css"&gt;
  &lt;!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --&gt;
  &lt;!-- WARNING: Respond.js doesn't work if you view the page via file:// --&gt;
  &lt;!--[if lt IE 9]&gt;
  &lt;script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"&gt;&lt;/script&gt;
  &lt;script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"&gt;&lt;/script&gt;
  &lt;![endif]--&gt;
  &lt;!-- Font Awesome JS --&gt;
   &lt;script src="https://use.fontawesome.com/a0aac8df13.js"&gt;&lt;/script&gt;
  &lt;meta name="Description" content="Three fun-filled days in Portsmouth NH as the magic of Greece comes to town. The Glendi or party will begin on Friday, July 15th, July 16th and July 17th with authentic Greek food. We will offer live Greek music from the band orfeas and continual music by DJ Meleti. In addition to the food, there will be booths that will offer imported jewelry, arts and crafts from Greece. A children's play area will ensure the entire family enjoys their virtual visit to this ancient land."&gt;
  &lt;meta name="Keywords" content=" st. nicholas greek orthodox church, nicholas in greek, greek cuisine, st. nicholas greek orthodox cathedral, charleston food and wine, greek orthodox archdiocese, goarch.org, greek food festivals, st nicholas greek festival, greek food festival, wine events, orthodox christianity, food and wine events, wine tasting events, greek orthodox calendar, dallas greek festival, greek festival st. louis, st nick gift ideas, st nicholas greek orthodox, what to do in portsmouth nh, wine and food events, greek for church, greek orthodox religion, food and wine festival 2016, nicholas greek, st nicholas greek, st louis greek, festival seacoast online calendar, portsmouth events, orthodox music, greek orthodox christian, greek orthodox churches, greek orthodox music, greek orthodox christianity, greek festival st louis mo, greek dates, seacoast nh events, st nick gifts, greek orthodox icon, annunciation  ,greek orthodox wine event, orthodox greek food and wine festivals, 2016 food and wine event, church in greek, greek orthodox church ann arbor, famous greek foods, portsmouth high, charleston wine festival, live music in portsmouth nh, activities in portsmouth nh, greek orthodox faith, greek orthodox festival st nicholas, orthodox greek nicholas, food and wine tasting, food and wine shows, food and wine events 2016, moving to portsmouth nh, portsmouth nh food music festival july, portsmouth nh classifieds, greek food items, live music in nh, festival this weekend, festival of food, eastern orthodox music, greek orthodox religious items, glendi festival, music festival, vendors, where is portsmouth nh, portsmouth activities, saint nicholas orthodox, becoming greek orthodox, greek church, music, music festival dates,  greek orthodox bishop, orthodox children festival in july, greek orthodox food events in portsmouth, greek orthodox festivals, dates in greek, eastern orthodox new year, greek orthodox schools, food in portsmouth, music festival in july, beer, weekend wine activities, the greek orthodox, on line events, greek orthodox community, orthodox music  "&gt;
  
  &lt;link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png"&gt;
  &lt;link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png"&gt;
  &lt;link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png"&gt;
  &lt;link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png"&gt;
  &lt;link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png"&gt;
  &lt;link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png"&gt;
  &lt;link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png"&gt;
  &lt;link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png"&gt;
  &lt;link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png"&gt;
  &lt;link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"&gt;
  &lt;link rel="icon" type="image/png" href="/android-chrome-192x192.png" sizes="192x192"&gt;
  &lt;link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96"&gt;
  &lt;link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"&gt;
  &lt;link rel="manifest" href="/manifest.json"&gt;
  &lt;link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"&gt;
  &lt;meta name="msapplication-TileColor" content="#da532c"&gt;
  &lt;meta name="msapplication-TileImage" content="/mstile-144x144.png"&gt;
  &lt;meta name="theme-color" content="#ffffff"&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div class="main-navigation-container navbar-fixed-top" id="primary-navbar"&gt;
              &lt;nav class="navbar"&gt;
                  &lt;div class="container-fluid"&gt;
                      &lt;!-- Mobile Toggle Button and stuff --&gt;
                      &lt;div class="navbar-header"&gt;
                          &lt;button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#primary-navigation" aria-expanded="false"&gt;
                              &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
                              &lt;span class="icon-bar"&gt;&lt;/span&gt;
                              &lt;span class="icon-bar"&gt;&lt;/span&gt;
                              &lt;span class="icon-bar"&gt;&lt;/span&gt;
                          &lt;/button&gt;
                          &lt;a class="navbar-brand" href="" title="PortsmouthGreekFestival.com"&gt;PortsmouthGreekFestival.com&lt;/a&gt;
                      &lt;/div&gt;
                      &lt;!-- End of mobile toggle button --&gt;
                      &lt;!-- Start of the navbar --&gt;
                      &lt;div class="collapse navbar-collapse" id="primary-navigation"&gt;
                          &lt;ul class="nav  nav-justified"&gt;
                              &lt;li&gt;&lt;a href="index.html"&gt;Home&lt;span class="sr-only"&gt;(current)&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
                             &lt;li&gt;&lt;a href="Menu.html"&gt;Menu&lt;/a&gt;&lt;/li&gt;
                              &lt;li&gt;&lt;a href="photos.html"&gt;Photos&lt;/a&gt;&lt;/li&gt;
                              &lt;li&gt;&lt;a href="events.html"&gt;Schedule of Events&lt;/a&gt;&lt;/li&gt;
                              &lt;li&gt;&lt;a href="sponsors.html"&gt;Sponsors&lt;/a&gt;&lt;/li&gt; 
                              &lt;li&gt;&lt;a href="contact.html"&gt;Contact&lt;/a&gt;&lt;/li&gt;
                              &lt;/ul&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/nav&gt;
  &lt;/div&gt;  
  &lt;header class="masthead"&gt;
        &lt;img src="images/Banner.jpg" alt="Portsmouth Greek Festival Logo"&gt;
  &lt;/header&gt;     
  &lt;!-- /.container --&gt;
  &lt;!-- Feature --&gt;
  &lt;div class="container"&gt;
  
  &lt;h1&gt;Sponsorship Opportunities&lt;/h1&gt;
  &lt;div class="flexible-container-embed"&gt;
  &lt;object data="pdf/GreekFestSponsorship2013.pdf" type="application/pdf" width="100%" height="100%"&gt;
     &lt;p&gt;This browser does not support PDFs. Please download the PDF to view it: &lt;a href="http://portsmouthgreekfestival.com/pdf/GreekFestSponsorship2013.pdf"&gt;Download PDF&lt;/a&gt;&lt;/p&gt;
  &lt;/object&gt;
    
  &lt;/div&gt; &lt;/div&gt;
  &lt;footer&gt;    
  &lt;!-- Copyright etc --&gt;
  &lt;div id="Copyright"&gt;
  &lt;p&gt;Copyright &amp;copy; &lt;script&gt;document.write(new Date().getFullYear());&lt;/script&gt; PortsmouthGreekFestival.com&lt;/p&gt;
  &lt;/div&gt;
  &lt;/footer&gt;
  &lt;!-- jQuery --&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"&gt;&lt;/script&gt;
  &lt;!-- Bootstrap Core JavaScript --&gt;
  &lt;script src="js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;!-- IE10 viewport bug workaround --&gt;
  &lt;script src="js/ie10-viewport-bug-workaround.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  
   You can see how the pdf is not 100% height in this screenshot. 
  <a href="https://i.stack.imgur.com/PvC9Q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PvC9Q.png" alt="screenshot"></a></p>