BOX ORDINAL GROUP IN USERCHROME
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?
Giải pháp được chọn
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.
Đọc câu trả lời này trong ngữ cảnh 👍 1Tất cả các câu trả lời (4)
Giải pháp được chọn
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.
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.
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.
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.