搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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