On Aug 14th 11 PM ET/Aug 15th 03:00 UTC, due to scheduled Firefox Account server maintenance, users may not be able to sign in or create a new subscription. This is expected to last approximately 30 minutes. Status updates can be found at https://status.vpn.mozilla.org or https://status.relay.firefox.com.

搜尋 Mozilla 技術支援網站

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

Learn More

How to manage "flexible space"

  • 2 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 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.