To add text in single line

Sometimes the headings of PDF appear like this.

To add text in single line for PDF templates, use <pre> tag

<th align="center" colspan="4" style="width: 70px;  border-bottom: 1.5px solid #000000; border-right: 1.5px solid #000000;"><pre><strong>QTY ORDER</strong></pre></th>

Now the heading appear like this

Leave a comment

Your email address will not be published. Required fields are marked *