HTML DIV TAG内容在IE中不可见,但在最小化时显示

时间:2017-08-16 12:51:50

标签: html css jsp

下面的我的jsp代码在Internet Explorer浏览器11中不可见,但是当我最小化浏览器时,我能够在页面中心查看详细信息。我觉得div标签的结构在使用Div标签时仍然没有那么熟悉。请帮忙。

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags" %> 

<div class="commonMessage">File has been uploaded successfully.
    <form id="fileUpload" name="fileUpload" action="/fileDownload.action" method="post" enctype="multipart/form-data">
        <ul>
           <li><label>File Name:</label><label class="longVal">${FileName}</label></li>
           <li><label>Content Type:</label><label class="longVal">${ContentType}</label></li>
           <li><label>Bat Ref:</label>${batRef}</li>
           <li><label>Total Records:</label>${totalRecordsCount}</li>
           <li><label>Error Records:</label>${totalErrorRecordsCount}</li>
                <s:hidden name="batRef"/>
                <%int errcount = (Integer)session.getAttribute("totalErrorRecordsCount");        
                // boolean showDLbutton = "upload".equals(invokeFrom);
            if (errcount !=0) {%>
                 <li><button type="submit" id="fileDownload" name="action:fileDownload" value="Submit" title="on" >Download .bad file</button></li>
            <%} %>
        </ul>
     </form>
     <p>Do you want to insert the records into the staging table?</p>
     <form id="fileUpload" name="fileUpload" action="/fileUpload.action" method="post" enctype="multipart/form-data">
        <ul>
           <li>
              <button type="submit" id="fileConfirm" name="action:fileConfirm" value="Submit" title="on" >Yes</button><INPUT type= "button" value = "No" size = "number" title = "off" onclick="javascript:history.back(-1);"/>
            </li>
         </ul>
    </form>
</div>

0 个答案:

没有答案