搜尋 Mozilla 技術支援網站

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

Learn More

BOX ORDINAL GROUP IN USERCHROME

  • 4 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 deanone

more options

I remember seeing somewhere that -moz-box-ordinal-group does not keep assigned values in userChrome if the value is changed after being set the first time. This certainly seems to be the case -

With the following I had temporarily set the value to '1' but then set it back to '2' - it no longer works.

#clearDownloadsButton {
 -moz-box-ordinal-group: 2 !important;
}

Am I missing something?

被選擇的解決方法

Do you mean you have two rules in userChrome.css for #clearDownloadsButton ?

Do you have other rules for items in the #placesToolbar container ?

Note that '1' is the default (natural DOM order) and a different value only works if there are other elements in the same container.

從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

選擇的解決方法

Do you mean you have two rules in userChrome.css for #clearDownloadsButton ?

Do you have other rules for items in the #placesToolbar container ?

Note that '1' is the default (natural DOM order) and a different value only works if there are other elements in the same container.

有幫助嗎?

more options

No only one rule. I wanted the button located on the extreme right of the box and this worked. I was then curious as to where '1' would place the button but decided to move it back to '2' and now it's not producing the original outcome. No matter what value I set (0, 1, 2), it stays on the extreme left.

有幫助嗎?

more options

Do you see this rule in the Browser Toolbox like in my above posted screenshot ?

Can you post the content of your userChrome.css or upload the file to pastebin.com and post the link if the file is too big so we can check code for issues.

有幫助嗎?

more options

I have managed to solve this...

I had disabled the search bar and view button in another part of my userChrome. The -moz-box-ordinal-group setting now works as it should.

This is my error. Thanks again for your efforts.

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題