Firefox 3.6 毁了我的页面样式!

发布于 2024-08-19 05:01:41 字数 179 浏览 4 评论 0原文

我真的不想把这个问题归咎于 Mozilla,我确信这可能是我做了一些愚蠢的事情,但是页面位于:

www.mozilla.com。 neverMindFixed .com

该演示文稿在其他浏览器上可以正常运行,但不能在最新的 Firefox 上运行。有人知道这一点吗?

谢谢!

Don't really want to blame mozilla on this one, i'm sure it could be me doing something silly but the page at:

www. neverMindFixed .com

the presentation will work fine on other browsers, just not the latest firefox. anyone clued up on this?

Thanks!

Si

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(4

不气馁 2024-08-26 05:01:41

好吧,首先,你的 CSS 很乱。其次,有这样的声明:

#faq-bb li { list-style-image:url(/display_images/stonewall/faq_bullet.gif; list-style-type: none; margin: -2px; padding: 0px;  visible:false;}

请注意 URL 周围非常重要的缺少第二个 )。看来FF 3.6更加挑剔一些。

Okay, firstly, your CSS is a mess. Secondly, there's this declaration:

#faq-bb li { list-style-image:url(/display_images/stonewall/faq_bullet.gif; list-style-type: none; margin: -2px; padding: 0px;  visible:false;}

Note the very important missing second ) around the URL. Looks like FF 3.6 is a bit more picky.

旧梦荧光笔 2024-08-26 05:01:41

您有 visible:false; ——“false”不是有效值。您要么指的是 visibility:collapse;,但它在旧版浏览器中的支持可能很差,要么指的是旧的备用 display: none;

验证您的 CSS

You have visible:false; -- "false" is not valid value. You either mean visibility: collapse;, but that likely has poor support in older browsers, or the old standby display: none;.

Please validate your CSS.

许仙没带伞 2024-08-26 05:01:41

有很多 页面上的验证错误,这可能会导致问题。这些听起来最重要:

  • 文档类型不允许此处使用“script”元素;假设缺少“head”开始标记
  • 文档类型不允许此处的元素“head”
  • 文档类型不允许此处的元素“body”
  • ID“search”已定义
  • ...加上来自Javascript的一堆错误(检查您的CDATA定义)

也正如匿名者所指出的,存在 CSS 错误。没有属性visible - 我猜你想要visibility:hidden。但我确信你不需要隐藏那么多东西。

There are a lot of validation errors on the page, which could be causing problems. These ones sound most important:

  • document type does not allow element "script" here; assuming missing "head" start-tag
  • document type does not allow element "head" here
  • document type does not allow element "body" here
  • ID "search" already defined
  • ...plus a bunch of errors from the Javascript (check your CDATA definitions)

Also as Anonymous pointed out, there are CSS errors. There is no property visible - I'm guessing you want visibility: hidden. But I'm positive you don't need so many things hidden.

你曾走过我的故事 2024-08-26 05:01:41

对我来说,您的网站可以在 Firefox 3.5 和 Chrome 上运行,但 Firefox 3.6 有问题。您的演示文稿正在运行,但

<span class="hidden"> .... </span>

标签会显示出来,而不是保持隐藏状态。

为什么这些标签在那里?

如果你想保留它们,你可能想要清理你对“隐藏”类的定义,就像匿名所说,你不能指定“visible: false”。删除它,然后验证其余的 CSS 和 HTML。确实有很多错误。

For me also, your website is working on Firefox 3.5 and on Chrome, but Firefox 3.6 has problems. Your presentation is working, but the

<span class="hidden"> .... </span>

tags are showing up instead of remaining hidden.

Why are those tags there?

If you want to keep them, you probably want to clean up your definition of the "hidden" class, like Anonymous says, you cannot specify "visible: false". Remove it, and then validate the rest of your CSS and HTML. There are really a lot of errors.

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