Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

BOX ORDINAL GROUP IN USERCHROME

  • 4 ответа
  • 1 имеет эту проблему
  • 8 просмотров
  • Последний ответ от 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.

Полезно?

Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.