搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to manage "flexible space"

  • 2 个回答
  • 2 人有此问题
  • 23 次查看
  • 最后回复者为 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.