搜索 | 用户支持

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

详细了解

Cannot find Border property

  • 5 个回答
  • 1 人有此问题
  • 6 次查看
  • 最后回复者为 ErraticFox

more options

Hello, I'm making a FF theme with DOMi and there's a border that I can't seem to get rid of or find where it's coming from. It's the very thin border between the actual webpage and the navbar in FireFox. As you can see in the screenshot below, the very bottom border of where the webpage and FF connect. I cannot find where that is coming from. I've search for it for over an hour. I know it's coming from within the toolbar I think. I've even done (for testing) stuff like

    #main-window * {
         border: none !important;
    }


and even then that didn't rid of it. I've also tried padding, margin, background-color, etc.

Where is this line coming from?

Hello, I'm making a FF theme with DOMi and there's a border that I can't seem to get rid of or find where it's coming from. It's the very thin border between the actual webpage and the navbar in FireFox. As you can see in the screenshot below, the very bottom border of where the webpage and FF connect. I cannot find where that is coming from. I've search for it for over an hour. I know it's coming from within the toolbar I think. I've even done (for testing) stuff like #main-window * { border: none !important; } and even then that didn't rid of it. I've also tried padding, margin, background-color, etc. Where is this line coming from?
已附加屏幕截图

由ErraticFox于修改

被采纳的解决方案

A larger screenshot I think would take away from the subject. It's the little grey border at the bottom and that is the default FF theme in the picture. I've gave #navigator-toolbox a border of 0 with !important before and that didn't work.


EDIT: Found it by looking at another theme and searching through their #navigator-toolbox properties. The way to get rid of this is:

    #navigator-toolbox::after { 
      height: 0px;
    }
定位到答案原位置 👍 0

所有回复 (5)

more options

I can't figure it out, either. It could be one of the -moz attributes or properties.

more options

It is probably the border of the #navigator-toolbox. Sometimes you can remove (hide) such a border with a negative margin. It can also be a box-shadow.

The screenshot is a bit msall and doesn't show much, so I'm not sure what your current toolbar setup is and what toolbars you show and in what order.

Maybe you can provide a larger screenshot.

由cor-el于修改

more options

选择的解决方案

A larger screenshot I think would take away from the subject. It's the little grey border at the bottom and that is the default FF theme in the picture. I've gave #navigator-toolbox a border of 0 with !important before and that didn't work.


EDIT: Found it by looking at another theme and searching through their #navigator-toolbox properties. The way to get rid of this is:

    #navigator-toolbox::after { 
      height: 0px;
    }

由ErraticFox于修改

more options

See:

  • chrome://browser/skin/browser.css
#navigator-toolbox::after {
  content: "";
  display: -moz-box;
  -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
  height: 1px;
  background-color: ThreeDShadow;
}
more options

Accidentally hit not helpful (on my phone) and it won't let me switch it... Though I was questioning why this is even a thing? That property, I mean.