为什么ie6可以显示 ie5显示不出来

naturelove 2004-01-27 07:45:12
下面这个页面在ie6下显示正常
在ie5就不能显示
请问为什么
如何解决
谢谢

<%@ page language="java" import="java.sql.*" %>
<%@ page contentType="text/html; charset=gb2312" %>
<HTML scrolling="no">
<head>
<title>mytitle</title>
<style type="text/css">
<!--
.w9p { font-size: 9pt; color: #FFFFFF; text-decoration: none}
-->
</style>
</head>
<script language="JavaScript" type="text/javascript">
var src=20;
var html= '';
var scr_width=980;
html='<DIV id="layer_div" style="Position:Absolute;Left:'+scr_width+';Top:0px;Width:0px;Z-Index:20" visibility: visible"\>'
+ '<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">'
+ '<table height="314" cellpadding="0" cellspacing="0" >'
+ '<tr> '
+ '<td width="25" ><iframe name="left" align="left" height="100%" width="100%" frameborder="0" src="./bmap/pop_left.htm" scrolling="no" ></iframe></td>'

+ '<td><iframe name="layerFrame" align="left" height="100%" width="100%" frameborder="0" src="" scrolling="no"></iframe></td>'
+ '</tr>'

+ '</table>'
+ '</body>'
+'</div>'
document.write(html);
//document.all.layerFrame.src="./bmap/main2.htm";
document.all.layerFrame.src="./bmap/main_cwg.jsp?lushen=1&placename=2&staytime=1&initial_update=1";

</script>


<BODY BGCOLOR=#FFFFFF background="images/index-bg.gif" leftmargin="0" topmargin="0">
<table width="980" height=600 border="0" cellpadding="0" cellspacing="0">
<!--the following is map area display-->
<tr>
<td width="980" height="600">
<iframe id=map src="./bmap/default.htm" width="100%" height="100%" scrolling="no" frameborder="0">
</td>
</tr>
</table>
</BODY>
</HTML>


谢谢
...全文
36 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
emhuangzi 2004-01-27
  • 打赏
  • 举报
回复
晕`~
看看程序中的代码部分 有没有出错的 说不定有限制~
(忙 所以没空帮你看代码):)
youbest 2004-01-27
  • 打赏
  • 举报
回复
这很正常,IE6支持的功能比IE5多.

61,124

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧