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

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

Learn More

How to manage "flexible space"

  • 2 ответа
  • 2 имеют эту проблему
  • 19 просмотров
  • Последний ответ от danivdc

more options

When I want to customize my toolbar browser and I add "flexible space", this actually dont add any "flexible" in toolbar. I only want to minimize as much as possible the "search" bar and the adress bar in order to see much more from personas picture. I only manage this by adding A LOT of "spaces" after adress bar and "search" bar . How I can really manage that "flexible" space? Coz if I add it and I try to expand it, I cant

When I want to customize my toolbar browser and I add "flexible space", this actually dont add any "flexible" in toolbar. I only want to minimize as much as possible the "search" bar and the adress bar in order to see much more from personas picture. I only manage this by adding A LOT of "spaces" after adress bar and "search" bar . How I can really manage that "flexible" space? Coz if I add it and I try to expand it, I cant

Все ответы (2)

more options

You can't use flexible space to limit the width of the location bar or search bar. Those bars also have a flex attribute and that attribute has a higher value, so they override the lower value of the flexible space.

You can use code in userChrome.css to set a maximum width for both bars.
See http://kb.mozillazine.org/Editing_configuration

Add code to userChrome.css below the @namespace line.
You can modify the values as you want them.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#urlbar-container {max-width: 400px !important}
#search-container {max-width: 200px !important}
more options

Sorry but this link "See http://kb.mozillazine.org/Editing_configuration" dont work.