Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解
已存档

image not displaying in firefox, working in Chrome & IE (CSS)

cor-el 已回复
littlebloke

This is a long shot, and a cross post from stackoverflow, i'm hoping someone can help

I'm trying to position a temporary 'beta' ribbon image positioned in the top left of a wordpress based site.

The following code functions as intended in Chrome and IE. In Firefox, nothing is appearing:

#page-wrapper:before 
{
  width: 50px;
  content: " ";
  background: url(../../wp-content/uploads/2013/09/betaribbon2.png) no-repeat;
  position: absolute;
  height: 50px;
  pointer-events: none;
}

Can anyone shed light on what I'm doing wrong?

Thanks,

This is a long shot, and a cross post from stackoverflow, i'm hoping someone can help I'm trying to position a temporary 'beta' ribbon image positioned in the top left of a wordpress based site. The following code functions as intended in Chrome and IE. In Firefox, nothing is appearing: #page-wrapper:before { width: 50px; content: " "; background: url(../../wp-content/uploads/2013/09/betaribbon2.png) no-repeat; position: absolute; height: 50px; pointer-events: none; } Can anyone shed light on what I'm doing wrong? Thanks,

由littlebloke于修改

所有回复 (2)

the above fragment is correct according to me but just make sure you have got your images enabled on your firefox. please make sure that the path for the image is correct. if the problem continue please be free co contact. :-)