日期:2014-05-17  浏览次数:20624 次

问个关于ie8的问题,很急,先谢谢了
项目在ie8上启动的时候,浏览器模式是ie8 ,而文档模式 则是 杂项,
页面效果就不正常,如果把文档模式换成ie8标准就好了,这个是为什么导致的呢?
我贴一个jsp页面吧
谢谢大家

HTML code

<%@ page language="java" contentType="text/html; charset=gb2312"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="/tags/app" prefix="app" %>
<html:html locale="true">
  <%
    String funcCode = request.getParameter("funcCode");
    if (funcCode != null && funcCode.length() != 0) {
        session.setAttribute("funcCode", funcCode);
    } else {
        funcCode = (String) session.getAttribute("funcCode");
    }
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path;
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" >
<title>个人工作区</title>
<link href="../../nresources/default/portal.css" rel="stylesheet" type="text/css" >
<script type="text/javascript" src="../../njs/jquery/jquery13.pack.js"></script>
<script type="text/javascript" src="../../njs/jquery/ui16rc5.packed.js"></script>
<script type="text/javascript" src="../../njs/jquery/contextmenu.r2.js"></script>
<script type="text/javascript" src="../../njs/ui/portal.js"></script>
<script type="text/javascript" src="../../js/swfobject.js"></script>
<script type="text/javascript">
            
</script>

</head>
<body >
        <div class="widget">
            <div class="item-col col-1">
                    <div id="w1" class="item">
                        <div class="caption">
                            <div class="text">反映问题</div>
                            <div class="option">
                            </div>
                        </div>
                        <div class="content autoscrolX">
                            <!-- 在这里填入你们想要的内容  cellpadding="0" cellspacing="0" is a must, but no need for 100% width-->
                             
                             <iframe align="top" id="ifram" frameborder="0" scrolling="auto" src="<%=basePath %>/mas_page/system/personwork/personwork.do?method=problem_list" width="100%" height="170px" ></iframe> 
                           
                        </div>
                    </div>
                    <div id="w3" class="item">
                        <div class="caption">
                            <div class="text">政策咨询</div>
                            <div class="option">
                            </div>
                        </div>
                        <div class="content autoscrolX">
                                <div>
                                 <iframe align="top" id="ifram" frameborder="0" scrolling="auto" src="<%=basePath %>/mas_page/system/personwork/personwork.