ie6和ie5有很大的区别。具体是什么问题,没说?

解决方案 »

  1.   

    在以前ie5时正常,但装完ie6后。就不能正常显示!只显示head.jsp 。而且head.jsp也不向以前那么规整!<%@ page contentType="text/html; charset=GB2312" %>
    <html>
    <head>
    <title>首页</title>
    </head>
    <body>
    <jsp:include page="head.jsp"/>
    <table width="775" height="707" border="1" align="center">
      <tr>
        <td height="701" valign="top">
    <table width="100%" height="695" border="0" align="center" cellspacing="0">
            <tr> 
              <td width="158" rowspan="2" align="left" valign="top"> 
                <jsp:include page="login.jsp"/> </td>
              
              
              
              
              
              
              <td height="47"><form name="find" method="post" action="find.jsp">
                  <input name="main_key" type="text" id="main_key" maxlength="50">
                  &nbsp; 
                  <select name="type" id="type">
                    <option value="mpc" selected>笔记本</option>
                    <option value="dc">数码相机</option>
                    <option value="phone">手机</option>
                    <option value="book">书籍</option>
                  </select>
                  &nbsp; 
                  <input name="image" type="image" src="img/button/index_20.gif" width="82" height="22">
                </form>
                <font color="#FF0000">热门关键字:</font> <a href="hotkey.jsp?hotkey=数码相机">数码相机</a> | <a href="hotkey.jsp?hotkey=手机">手机</a>| 
                <a href="hotkey.jsp?hotkey=书籍">书籍</a> | <a href="hotkey.jsp?hotkey=笔记本">笔记本</a>    <br>
    </td>
              
              
              
              <td width="158" rowspan="2" align="right" valign="top"> 
                <jsp:include page="newlist.jsp"/> </td>
               
            </tr>
            <tr> 
              <td height="102" valign="top"> 
                <jsp:include page="news.jsp"/> </td>
            </tr>
            <tr> 
              <td align="left" valign="top" bgcolor="#336699"> 
                <jsp:include page="list.jsp"/> </td>
              <td valign="top"> <jsp:include page="goods.jsp"/> </td>
              <td align="right" valign="top"><jsp:include page="vote.jsp"/></td>
            </tr>
          </table>
    </td>
      </tr>
    </table>
    <jsp:include page="foot.jsp"/>
    </body>
    </html>
      

  2.   

    我的建议是把<jsp:改为 <%
      

  3.   

    <%@ include file="a.jsp"%> 不是插入静态文件的吗?
      

  4.   


    在IE6中能看到源文件吗?
    和IE5中看到的源文件一样吗?
      

  5.   

    同一楼上的,这应该和输出的HTML代码有关系,和JSP应该没关系。
    实在不行贴出解析后的HTML代码来看看!