IE中<c:if>标签条件不满足没有执行里面的代码,但是<c:if>还是占了页面位置
怎么解决这个问题?
如图 ,蓝色部分就是<c:if>占的位置代码: <tr>
                  <c:if test="${currentPage > 1}">
    <td><span> <a href="${pageContext.request.contextPath}/List.do?page=${currentPage-1}&id=${person.id}" >上一页</a> </span></td>   
     </c:if>
  <c:if test="${currentPage <= 1}">
   <td> <span>上一页 </span></td>
  </c:if>
 <c:forEach var="index" begin="1" end="${totalPage}">
  <c:choose>
 <c:when test="${currentPage == index}">
     <td><span class="numym"><strong>${index}</strong> </span></td>
                     </c:when>
                     <c:otherwise><td>
                      <span class="numym"><a href="${pageContext.request.contextPath}/List.do?page=${index}&id=${person.id}">${index}</a> </span>
                    </td> </c:otherwise>
              </c:choose>
 </c:forEach>
     <c:if test="${currentPage < totalPage}">
   <td><span> <a href="${pageContext.request.contextPath}/List.do?page=${currentPage+1}&id=${person.id}" >下一页</a></span></td>
   </c:if>
  <c:if test="${currentPage >= totalPage}">
   <td><span>下一页</span></td>
  </c:if>
<td style="border:0px; font-size:12px;">
    跳到<input  type="text" id  = "tzym" class="tz"/>页
    <input type="button"  onclick="jumpPage()" value="确定" />
</td>
              </tr>