内部循环时形状水平样式未对齐的模态形式

时间:2017-04-27 08:03:45

标签: modal-dialog

美好的一天,我有这个代码生成项目列表

它是这样的:

for($i=0; $row = $qryAllItems->fetch(); $i++) {echo '<tr>';
echo '<td>' . $itemName . '</td>';
echo '<td>' . $itemDescription . '</td>';
echo '<td>' . $currentQuantity . ' ' . $unitType . '</td>';
echo '<td>Php ' . $unitCost . '</td>';
echo '<td>' . $itemSupplier . '</td>';
echo '<td>' . $itemBrand . '</td>';
echo '<td><center><span class="label label-success">'. $itmStatus .'</span></center></td>'; echo '<td><button type="button" class="btn btn-xs btn-info" title="View Item Details" data-toggle="modal" data-target="#viewItemDetails'. $itmIndex .'" ><i class="fa fa-info-circle"></i> </button> </td>';}

这将允许我查看模态中的每个项目。但是,当模态显示时,其对齐方式会失真:enter image description here

有人愿意指出我犯了什么错误。非常感谢你。

0 个答案:

没有答案
相关问题