搜尋 Mozilla 技術支援網站

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

Learn More

How to put the URL-bar at a fixed position to the right of tabs ?

  • 5 回覆
  • 1 有這個問題
  • 5 次檢視
  • 最近回覆由 cor-el

more options

I have moved the URL-BAR to the right of tabs, on the same row, and reduced the size with a few lines in "userChrome.css". I want the URL-bar to be at a fixed position as far to the right as possible, so i get as much free space as i can for my tabs. I´m using FF 20.

I have moved the URL-BAR to the right of tabs, on the same row, and reduced the size with a few lines in "userChrome.css". I want the URL-bar to be at a fixed position as far to the right as possible, so i get as much free space as i can for my tabs. I´m using FF 20.

所有回覆 (5)

more options

Did you try to place flexible space to the left of the location bar?

more options

Hi !

No. Tried that after reading your reply, but no change. It shrinks and moves to the right as i add tabs, but the start position of the URL-bar is the same, it has not moved.

more options

Sounds that you are using wrong code in the userChrome.css file.

You can set the max-width of the location bar and the search bar to force a maximum width of both bars.

@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

That is the code i have in my "userChrome.css ". The size has changed. But it is is positioned immediately to the right of my first tab, i want to move it as far to the right as possible, like "right-justified".

more options

That code works for me on Linux.

Did you check your extensions?