搜索 | 用户支持

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

详细了解

How do I get rid of this black line under the menu bar?

  • 5 个回答
  • 8 人有此问题
  • 731 次查看
  • 最后回复者为 aib42

more options

This last update's UI ugliness is a black/dark gray line under the menu bar:

http://i.imgur.com/Av7XTOi.png

How do I get rid of it?

This last update's UI ugliness is a black/dark gray line under the menu bar: http://i.imgur.com/Av7XTOi.png How do I get rid of it?

所有回复 (5)

more options

Are you using specific code in userChrome.css to move the Tab bar (I'm not seeing this bar in your screenshot) and possibly make other changes to the navigator-toolbox area or use extensions that make such modifications?

Those rules may have side effects. That line is either a border or a text shadow. See this file for CSS code for this area:

  • chrome://browser/skin/browser.css
more options

The bookmarks and tabs are underneath, not shown in the picture.

I've never customized the UI manually, but I have been using Classic Theme Restorer ever since the Google Chrome revamp.

I could possibly fix this myself if I could find any CSS files to edit -- should I copy this browser.css somewhere and let it override the built-in one?

Also, can I possibly use the Web Developer and/or Firebug style point+click interface to locate the UI elements? I'm not very good with CSS, you see.

more options

The developer of Classic Theme Restorer maintains a support thread over here: http://forums.mozillazine.org/viewtopic.php?f=48&t=2827985

Sorry I can't help you myself, I am still using Firefox 28 while I try to Customize the 29-plus versions without resorting to using CTR. I have tried it, but I prefer doing my own "cobbles" rather than rely upon an extension that "restores" much what I didn't like about Firefox 4.0 thru 28 and overrides what I do like about Australis. IOW, CTR 'fixes' things about 90% opposite of what I would do, if I had the talent to do a "retro extension".

IMO, the orange Firefox button was the worst thing that Mozilla has ever done to Firefox. The Menu bar worked fine before Firefox 4 came out and still does, it just doesn't have be showing all the time = Compact Menu and its' derivatives over the years was the 'ticket' for me starting from before Firefox was even named Firefox.

more options

See also this mozillaZine forum thread.

more options

Okay, so apparently style customizations go in userChrome.css and userContent.css in ${mozilla_profile_directory}/chrome.

As for the black line,

 #TabsToolbar:not([collapsed="true"]) + #nav-bar {
   border-top: none !important;
 }

(userChrome.css)

gets rid of it, though not the gray line it leaves behind nor the gradient of the navigation bar. (Both are fine for me, and I'm much happier now that I know how to tweak the UI)

For the sake of reference,

 chrome://browser/content/browser.xul

gives me an inspectable rendering of the UI (though the original one, without my overrides)

由aib42于修改