How to edit pdf invoice number to right side

ATTENTION!

How to edit pdf invoice number to right side it s on be left side i want to move it right side

Edit the invoice file template.

This is how I did it in one of my templates. (I know I can use CSS, but the PDF and CSS was not playing nice so I opted for tables)

      <tr>
         <td height="24" align="left" valign=middle style="padding-left: 40px;">Invoice Number:</td>
         <td height="24" class="totalTableVals"
            style="padding-left: 25px;"
            colspan=2 align="left" valign=middle><b><font
               color="#FF3333"><?php echo $invoice->invoice_number; ?></font></b></td>
      </tr>