2016-09-23 7 views
0

Облицовка проблемы при выравнивании текста, колонтитулы нижнего колонтитула не соответствуют столбцам таблицы, выдает скриншот, прикрепленный ниже. Протестировано, используя pull-right, pull-left, но не может решить проблему. Issue ScreeshotИсходный текст колонтитула бутстрапа

  <tfoot> 
      <tr> 
       <th><?=lang("total");?></th> 
       <th class="text-right"><?=$this->sma->formatMoney($inv->total + $inv->product_tax);?></th> 
      </tr> 

       <tr> 
        <th><?=lang("rounding");?></th> 
        <th class="text-right"><?=$rounding;?></th> 
       </tr> 
       <tr> 
        <th><?=lang("grand_total");?></th> 
        <th class="text-right"><?=$this->sma->formatMoney($inv->grand_total + $rounding);?></th> 
       </tr> 

ответ

1

добавить colspan в прошлом th

<tfoot> 
      <tr> 
       <th><?=lang("total");?></th> 
       <th class="text-right" colspan="2"><?=$this->sma->formatMoney($inv->total + $inv->product_tax);?></th> 
      </tr> 

       <tr> 
        <th><?=lang("rounding");?></th> 
        <th class="text-right" colspan="2"><?=$rounding;?></th> 
       </tr> 
       <tr> 
        <th><?=lang("grand_total");?></th> 
        <th class="text-right" colspan="2"><?=$this->sma->formatMoney($inv->grand_total + $rounding);?></th> 
       </tr> 
Смежные вопросы