Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

BOX ORDINAL GROUP IN USERCHROME

  • 4 trả lời
  • 1 gặp vấn đề này
  • 6 lượt xem
  • Trả lời mới nhất được viết bởi 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?

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 👍 1

Tất cả các câu trả lời (4)

more options

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.

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.