1

这个简单的框架集在 Firefox 中不起作用(IE7、8、Chrome 还可以)。 main没有出现,但footer确实出现了。有一个与屏幕顶部齐平的框架窗口分隔线,但即使拉下该分隔线,也不会main显示任何内容。

它在其 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>
4

1 回答 1

2

好的,原来是 Ad Block Plus。我在 Firefox 上启用了它来测试某些 Ajax 调用是否通过,但忘记了它在那里。

过去我在使用 Ad Block Plus 时遇到过另一个问题:

https://stackoverflow.com/questions/3482385/adblock-is-killing-my-xmlhttprequests-work-around

有趣的程序:扼杀免费互联网,弄乱 xmlhttprequests,并阻止从 localhost 拉取的帧内容。嘘广告块加

于 2010-09-05T06:43:02.210 回答