為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

How can I add 1pixel border above tabs, on window name bar, like in Opera. This helps in moving FF window.

  • 10 回覆
  • 1 有這個問題
  • 10 次檢視
  • 最近回覆由 mysz94

more options

In Opera there is a 1px line above tabs which helps in organising windows. So I can move the cursor highest on the screen, click and move the window or if I want do change window to firefox from another window i can click highest on the screen fastest as possible. Is it possible to do this border?

In Opera there is a 1px line above tabs which helps in organising windows. So I can move the cursor highest on the screen, click and move the window or if I want do change window to firefox from another window i can click highest on the screen fastest as possible. Is it possible to do this border?

所有回覆 (10)

more options

Hmmm, normally Firefox doesn't push the tabs all the way to the top of the window unless the window is maximized. In that case, of course, you can't move the window. So I'm not sure I understand how your Firefox is set up. Are you using an add-on or custom style rules?

Could you maybe post a screen shot showing the problem and/or desired solution? This article might help: How do I create a screenshot of my problem?

more options

I'm using default style. Look in the screenshot. If I move the cursor highest on the screen one of tabs is highlighted, and if i click it will change on it. I want not to change tab, but only highlight the FF window. See this in opera. It's especial problem.

more options

you could add the following code in your UserChrome.css file:

#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar { margin-top:2px; }
more options

Thanks, but it doesn't work. Or I dont know how to use this code... Are you sure that it works in FF17?

more options

yes it should work with ff17 - please also note that it's called userChrome.css (and not with a capital U as in my prior answer).

more options

Still not works. I see directory (...)/profile/chrome in your screen... Look at mine. I thought that may be cause the file profiles.ini with anoter patch... idk.

more options

yes, the /chrome folder with the userChrome.css file doesn't appear to be in the right folder - it has to go into your profile folder. you can access it easily by going into firefox > help > troubleshooting information and clicking on profile folder/show folder. put the /chrome-folder in there & restart firefox afterwards & see if it does take effect then.

more options

Wow! Great Thanks! It works! But there is one problem: this margin doesnt work like Name bar, so i cant catch it and move ;-) But it's optional for me in result.

more options

ok, i experimented a bit & this will work better instead :-)

#main-window[sizemode="maximized"] > #titlebar { margin-bottom: -1px; }
more options

Wohoo! Thanks! You are the best :P