title: TCPDF - Internal css not working
body: <p>When I am using following style then everything works properly.</p>
  
  <pre><code>&lt;style&gt;
              table{
                  border: 0.5px solid black;
                  border-collapse: separate;
                  border-spacing: 0;
              }
              &lt;/style&gt;
  </code></pre>
  
  <p>But when Im using class, code is not working.</p>
  
  <pre><code>&lt;style&gt;
              .tableWithOuterBorder{
                  border: 0.5px solid black;
                  border-collapse: separate;
                  border-spacing: 0;
              }
              &lt;/style&gt;
  </code></pre>
  
  <p>Following are my details code.</p>
  
  <pre><code>$htmlData   =   "&lt;html&gt;&lt;head&gt;";
                  $htmlData   .=  "&lt;style&gt;
                  .tableWithOuterBorder{
                      border: 0.5px solid black;
                      border-collapse: separate;
                      border-spacing: 0;
                  }
                  &lt;/style&gt;";
  
                  $htmlData   .=  "&lt;/head&gt;&lt;body&gt;";
                  $htmlData   .=  "&lt;table class='tableWithOuterBorder'&gt;&lt;tr&gt;&lt;td&gt;Hello&lt;/td&gt;&lt;td&gt;Sir&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;";
                  $htmlData   .=  "&lt;/body&gt;&lt;/html&gt;";
  
          $pdf-&gt;writeHTML($htmlData, true, false, false, false, '');
  </code></pre>
  
  <p>What is wrong in my code?</p>