搜索 | 用户支持

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

Learn More

opacity don't work in FF for windows but under ubuntu whats the differens

  • 1 个回答
  • 1 人有此问题
  • 14 次查看
  • 最后回复者为 cor-el

more options

I have written this lines in an wordpress twenty ten child.

#wrapper {
	background: rgba(255, 255, 255, 0.8);
	margin-top: 20px;
	padding: 0 20px;
	-webkit-border-radius: 12px;
	-khtml-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}


rgba works just fine in firefox 3.6 under Ubuntu 10.10, but in Firefox 3.6 under Windows XP it don't.

I have written this lines in an wordpress twenty ten child. <pre><nowiki>#wrapper { background: rgba(255, 255, 255, 0.8); margin-top: 20px; padding: 0 20px; -webkit-border-radius: 12px; -khtml-border-radius: 12px; -moz-border-radius: 12px; border-radius: 12px; }</nowiki></pre> rgba works just fine in firefox 3.6 under Ubuntu 10.10, but in Firefox 3.6 under Windows XP it don't.

由cor-el于修改

所有回复 (1)

more options

Try background-color if you only intend to set that property.

background-color: rgba(255, 255, 255, 0.8);

A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25