title: Exporting Bootstrap DOM - HTML to PDF by DOMPDF
body: <p>Using Bootstrap 3 and DOMPDF, I am trying to export some html nodes like:</p>
  
  <pre><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;title&gt;Bootstrap 101 Template&lt;/title&gt;
  
      &lt;!-- Bootstrap --&gt;
      &lt;link href="css/bootstrap.min.css" rel="stylesheet"&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;/head&gt;
    &lt;body&gt;
      &lt;div class="alert alert-success"&gt;
         &lt;a href="#" class="alert-link"&gt;Test 1&lt;/a&gt;
      &lt;/div&gt;
      &lt;div class="alert alert-info"&gt;
         &lt;a href="#" class="alert-link"&gt;Test 2&lt;/a&gt;
      &lt;/div&gt;
      &lt;div class="alert alert-warning"&gt;
         &lt;a href="#" class="alert-link"&gt;Test 3&lt;/a&gt;
      &lt;/div&gt;
      &lt;div class="alert alert-danger"&gt;
         &lt;a href="#" class="alert-link"&gt;Test 4&lt;/a&gt;
      &lt;/div&gt;
      &lt;!-- jQuery (necessary for Bootstrap's JavaScript plugins) --&gt;
      &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"&gt;&lt;/script&gt;
      &lt;!-- Include all compiled plugins (below), or include individual files as needed --&gt;
      &lt;script src="js/bootstrap.min.js"&gt;&lt;/script&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>but it is not taking the Bootstrap styles over to the PDF, is it possible to generate PDF from Bootstrap style? As far as I can tell from my research, the DOMPDF export HTML content to PDF but why not taking care about the Bootstrap Style?</p>