title: How to include the external style sheet in dom pdf
body: <p>I am using Dompdf for the report generation in the php. I am not able to include the external style sheet for the same...</p>
  
  <p>The code I am using is similar to the following:</p>
  
  <pre><code>&lt;?php
  require_once "dompdf/dompdf_config.inc.php";
  $dompdf = new DOMPDF();
  
  $html ="
  &lt;table&gt;
    &lt;tr &gt;
      &lt;td class='abc'&gt;testing table&lt;/td&gt;
      &lt;/tr&gt;
    &lt;tr&gt;
     &lt;td class='def'&gt;Testng header&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;";
  
  $dompdf-&gt;load_html($html);
  $dompdf-&gt;render();
  $dompdf-&gt;set_base_path('localhost/exampls/style.css');
  $dompdf-&gt;stream("hello.pdf");
  ?&gt;
  </code></pre>
  
  <p>Please let me know how to include the external css file..</p>