ie中table td寬度指定無效


 

<table class="form-tblsect" >
  <tr width="100%">
     <td width="50%" class="cell_lbl_right">Contractor Company Name<span class="starCss">*</span>: </td>
     <td width="50%" class="cell_lbl_left" style="word-wrap:break-word;word-break:break-all;">${app.contrCompanyName }
        <c:if test="${historyApplicationDTO!=null && historyApplicationDTO.contrCompanyName  !=app.contrCompanyName  }">
           <span style="color: red">(${status}) </span>
        </c:if>
     </td>
  </tr>
</table>    

  

 顯示效果並不是50%+50%

 需要加入

<table style="table-layout: fixed">


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。