首页 新闻 会员 周边

IE不能显示Frameset

0
悬赏园豆:20 [已解决问题] 解决于 2012-03-09 21:53

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理</title>
</head>

<!-- 框架居中 其实就是在自己的frameset外在嵌套一层frameset的方法 src=“about:blank” 换成两个空页面blank.html 设置body的颜色 -->
<div id="big_box">


<frameset cols="*,1024,*" frameborder="no" border="0" framespacing="0">
<frame src="zuo.html" />


<frameset rows="160px,*" frameborder="no" border="0" framespacing="0" >

<frame src="houtai_box_top.html" marginwidth="0" marginheight="0" frameborder="no" scrolling="no" noresize="noresize" name="topFrame" />



<frameset cols="244px,*" framespacing="0" border="0" frameborder="0">

<frame src="houtai_box_left.html" marginwidth="0" marginheight="0" scrolling="auto" noresize="noresize" name="leftFrame" />

<frame src="houtai_box_right.html" marginwidth="0" marginheight="0" scrolling="auto" scrolling="no" noresize="noresize" name="rightFrame" />
<frame src="UntitledFrame-1.html"></frameset>
</frameset>


<!-- 框架居中 其实就是在自己的frameset外在嵌套一层frameset的方法 -->


<frame src="zuo.html" />
</frameset>
<noframes>

<body>抱歉,该浏览器不支持框架,请换一个浏览器!</body>

</noframes> 

</div>
</html>

 

 

 

求大神帮我解决啊!

代码、路径是没有问题的,在火狐能打开,IE8能打开,就是IE9 打不开啊。。。

急死了。。。。。

上面是源代码,有人说修改编码格式,但我不懂修改啊!

慢慢沉淀的主页 慢慢沉淀 | 初学一级 | 园豆:169
提问于:2012-03-06 11:15
< >
分享
最佳答案
0

发现问题了,是 头部信息的问题,去掉声明就显示正常了,但是过不了 w3c 标准,后来我直接去掉左右嵌套的框架,就是 zuo.html.

还有就是IE有几个版本 是不支持 gif 图片做背景,不能显示的,不知道是不是我不懂布局,明明已经过了 w3c 标准的,后来我就把图片改成 jpg 了。。。

慢慢沉淀 | 初学一级 |园豆:169 | 2012-03-09 21:52
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册