框架内容未出现在 Firefox 中

发布于 2024-09-18 10:50:18 字数 788 浏览 2 评论 0原文

这个简单的框架集在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

耳根太软 2024-09-25 10:50:18

好吧,原来是 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文