title: Center align using html2pdf with lines on both side
body: <pre><code>&lt;table style="width: 100%;"&gt;
          &lt;tr&gt;
              &lt;td style="text-align: center;width=100%;"&gt;&lt;h4&gt;Education&lt;/h4&gt;&lt;/td&gt;
          &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>This is the code I am using. Now i want o/p like this:</p>
  
  <p><img src="https://i.stack.imgur.com/y5KdI.png" alt="enter image description here"></p>
  
  <p>How can I draw these horizontal lines?</p>