Frameset没有显示在FireFox或IE中。罚款在Chrome ..? [英] Frameset not showing up in FireFox or IE. Fine in Chrome..?

查看:140
本文介绍了Frameset没有显示在FireFox或IE中。罚款在Chrome ..?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

出于某种原因,这个非常基本的页面在Chrome中显示得很好,但不是FireFox或IE。我从来没有真正需要使用框架,但他们似乎很简单。在框架集中使用单个框架有问题吗?

 <!DOCTYPE HTML PUBLIC -  // W3C // DTD HTML 4.01框架集// ENhttp://www.w3.org/TR/html4/frameset.dtd\"> 
< html>
< head>
< / head>
< body>
< frameset cols =*>
< frame id =aqFrameSlidersrc =http://www.alphacommunications.com/alphaquote/index.php?account=J2001&hash=GISDFGSP43HAJ49FH92JSPKJ>
< / frameset>
< / body>
< / html>


解决方案

移除< body> 然后关闭< frame> 正确:

 <!DOCTYPE HTML PUBLIC -  // W3C // DTD HTML 4.01 frameset // ENhttp://www.w3.org/TR/html4/frameset.dtd\"> 
< html>
< head>
< / head>
< frameset cols =*>
< frame id =aqFrameSlidersrc =http://www.alphacommunications.com/alphaquote/index.php?account=J2001&hash=GISP43HAJ49FH92JSPKJ>< / frame>
< / frameset>
< / html>

下一次,您应该验证你的文件,这会发现这个错误。


For some reason, this very basic page shows up fine in Chrome, but not FireFox or IE. I've never really needed to use Frames before, but they seem simple enough. Is there a problem with using a single frame within a frameset? I am trying to replace an iFrame with this single frame.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> 
<html>
    <head>
    </head>
    <body>
    <frameset cols="*">
      <frame id="aqFrameSlider" src="http://www.alphacommunications.com/alphaquote/index.php?account=J2001&hash=GISDFGSP43HAJ49FH92JSPKJ">
    </frameset>   
  </body>
</html>

解决方案

Remove <body> and close <frame> properly:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> 
<html>
    <head>
    </head>
    <frameset cols="*">
      <frame id="aqFrameSlider" src="http://www.alphacommunications.com/alphaquote/index.php?account=J2001&hash=GISP43HAJ49FH92JSPKJ"></frame>
    </frameset>
</html>

The next time, you should validate your document first, that would notice this error.

这篇关于Frameset没有显示在FireFox或IE中。罚款在Chrome ..?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆