-
Notifications
You must be signed in to change notification settings - Fork 10
Report : table header has no top margin in PDF
Jignesh Greycube edited this page Jan 18, 2023
·
2 revisions
Sol: add two row with blank content
CSS
table.tablebox{margin-top:0px !important; border: 0 !important;} td.no-border, tr.no-border{border:none !important; padding: 0 !important; }
HTML
<table class="table table-condensed table-hover table-bordered tablebox">
<thead >
<tr class="no-border">
<td class="no-border" colspan="5"> </td>
</tr>
<tr class="no-border">
<td class="no-border" colspan="5"> </td>
</tr>
<tr>
<th>{{_("Item Code")}} </th>
<th>{{_("Description")}} </th>
<th>{{_("Qty")}}</th>
<th>{{_("Rate")}}</th>
<th>{{_("Amount" )}}</th>
</tr>
</thead>