Invoice Formats

I have practically no experience in HTML but i played around with some code and got to most of what i want.
Please help me in getting this invoice sorted out.
I need the following

  1. The columns are getting cut off on the sides
  2. How do I set information on the right side under Invoice. Where I will have Invoice number, Invoice date, and other dispatch details.
  3. I will also need to remove the boxes that separate each line so i can increase the number of line items.
  4. What code do i write when I use more than one sheet for an invoice

Thank you in advance

{{ doc.select_print_heading or "Invoice" }}
Customer Name
Invoice No.
   	<div class="col-md-9 text-right">{{ doc.get_formatted("invoice_date") }}</div>
<div class="col-md-9"><b>{{ doc.customer_name }}</b></div>

{%- for row in doc.entries -%} {%- endfor -%} Description Batch Qty M.R.P Disc Rate Amount
{{ row.idx }} {{ row.item_name }} {{ row.batch_no }} {{ row.qty }} {{ row.base_price_list_rate }} {{ row.discount_percentage }} {{ row.base_rate }} {{ row.get_formatted("amount") }}
            <td width=60% style='padding-right: 10px;'>
                <b>Terms, Conditions &amp; Other Information:</b><br />
                <table cellspacing=0 width=100%><tbody>
                        <td>Net Total</td>
                        <td style="width: 38%; text-align: right;"><script>
                            format_currency(doc.net_total_export, doc.currency)
                    <tr><td colspan=3><script>si_std.print_other_charges()</script></td></tr>
                        <td>Grand Total</td>
                        <td style="width: 38%; text-align: right;"><script>
                            format_currency(doc.grand_total_export, doc.currency)
                    <tr style='font-weight: bold' class='imp-details'>
                        <td>Rounded Total</td>
                        <td style="width: 38%; text-align: right;"><script>
                            format_currency(doc.rounded_total_export, doc.currency)
                <br /><b>In Words</b><br />
        <tr><td colspan=2><div></div></td><tr>

Can you share your code in correct format? use or similar tools

I hope I got that right.

Please check the preview and use correct formatting…

@rmehta, I am not sure how to do this here