使用Colspan时,最后一列的border-right消失

I am currently using DOMPDF to convert html to PDF format. When i have multiple columns in one row, the last column has no right border. I read somewhere that it might be because i am using percentage but with pt and px, i still get the same result. I also have another row using 50% as my colspan and it shows the border-right on the last column. Any solution for that one?

This is how it looks: enter image description here

Here is another: enter image description here

I have also attached an image of how i formatted the code. enter image description here

If my question seems unclear and need more details, please let me know and I will make it more detailed.

I'm not really sure what you want to get here but colspan attribute is used to merge to cells in the same column:

<table>
  <tr>
    <th colspan="2">Month</th>
  </tr>
  <tr>
   <td>January</td>
   <td>$100</td>
  </tr>
  <tr>
    <td>February</td>
    <td>$100</td>
  </tr>
  <tr>
    <td colspan="2">Sum: $180</td>
  </tr>
</table>

If you want to set the with of your cells by % use width attribute on the tag...

Like...

 <td width="33%">some text</td>

Ref-> http://www.w3schools.com/tags/att_td_colspan.asp