搜索 | 用户支持

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

Learn More

Setting width of urlbar

  • 3 个回答
  • 1 人有此问题
  • 14 次查看
  • 最后回复者为 cor-el

more options

Hello, when I set #unified-back-forward-button to display:none, my url bar flows off the left side of the browser. Any reason what's causing this? I've tried to set the width to many selectors such as #nav-bar and #urlbar-container, nothing fixes this. Any reason why?

Hello, when I set #unified-back-forward-button to display:none, my url bar flows off the left side of the browser. Any reason what's causing this? I've tried to set the width to many selectors such as #nav-bar and #urlbar-container, nothing fixes this. Any reason why?

被采纳的解决方案

<strike>Try something like this:</strike>

#urlbar-container { max-width:400px!important; padding-left:0px!important; margin-left:XXpx!important; }

You can drag the unified B/F buttons to another position (i.e. to the right of the search bar) before hiding the buttons with the code in userChrome.css

定位到答案原位置 👍 0

所有回复 (3)

more options

I've figured out how to set the width of the url bar with

#urlbar {
    max-width: 400px !important;
}

But it still flows off the left when using
#unified-back-forward-button {
    display: none
} 

Still needing help.

由cor-el于修改

more options

Instead of display: none try

display: none !important;

and see what happens.

more options

选择的解决方案

<strike>Try something like this:</strike>

#urlbar-container { max-width:400px!important; padding-left:0px!important; margin-left:XXpx!important; }

You can drag the unified B/F buttons to another position (i.e. to the right of the search bar) before hiding the buttons with the code in userChrome.css

由cor-el于修改