框架内容未出现在 Firefox 中
这个简单的框架集在 Firefox 中不起作用(IE7、8、Chrome 都可以)。 main
不会出现,但 footer
会出现。有一个框架窗口分隔线与屏幕顶部齐平,但即使将该分隔线拉下后,也不会显示主要
内容。
它在其 DOCTYPE 下经过验证。有什么想法吗?
<!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>
<title></title>
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="pragma" content="no-cache"/>
</head>
<frameset rows="*,33">
<frame name="main" src="internalpage.html" />
<frame name="footer" src="http://www.example.com/externalpage.html" />
</frameset>
</html>
This simple frameset is not working in Firefox (IE7, 8, Chrome is okay). main
doesn't appear but footer
does. There's a frame window divider flush to the top of the screen, but even after pulling that divider down, no main
content is shown.
It's validated under its DOCTYPE. Any ideas?
<!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>
<title></title>
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="pragma" content="no-cache"/>
</head>
<frameset rows="*,33">
<frame name="main" src="internalpage.html" />
<frame name="footer" src="http://www.example.com/externalpage.html" />
</frameset>
</html>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,原来是 Ad Block Plus。我在 Firefox 上启用了它来测试某些 Ajax 调用是否能够通过,但忘记了它的存在。
我过去还遇到过 Ad Block Plus 的另一个问题:
https:// stackoverflow.com/questions/3482385/adblock-is-killing-my-xmlhttprequests-work-around
有趣的程序:杀死免费互联网,搞乱 xmlhttprequests,并阻止从本地主机拉取的帧内容。 Boo 广告拦截 Plus
Okay, so it turns out it was Ad Block Plus. I've enabled it on Firefox to test whether certain Ajax calls were getting through, and forgot it was there.
I've had another problem with Ad Block Plus in the past:
https://stackoverflow.com/questions/3482385/adblock-is-killing-my-xmlhttprequests-work-around
Funny program: kills the free internet, messes up xmlhttprequests, and blocks frame content pulled from a localhost. Boo Ad Block Plus