This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Cari Bantuan

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Pelajari Lebih Lanjut

How do I get the bookmarks toolbar's width to autofit to its buttons when placed next to tabs?

  • 4 balas
  • 5 memiliki masalah ini
  • 3 kunjungan
  • Balasan terakhir oleh Squeej23

more options

FF4: I'd like to be able to put the bookmark toolbar right next to my tabs (not above or below). However, when I do this, the width of the toolbar does not shrink down to fit only the buttons, i.e. the bookmarks toolbar takes up a lot of blank space.

This happens whether placing it on the right or left, or when placing tabs in the bookmarks toolbar.

To ask the question in another way, is there any way to autofit the bookmarks toolbar to its contents when placing next to tabs?

FF4: I'd like to be able to put the bookmark toolbar right next to my tabs (not above or below). However, when I do this, the width of the toolbar does not shrink down to fit only the buttons, i.e. the bookmarks toolbar takes up a lot of blank space. This happens whether placing it on the right or left, or when placing tabs in the bookmarks toolbar. To ask the question in another way, is there any way to autofit the bookmarks toolbar to its contents when placing next to tabs?

Diperbarui oleh Squeej23 pada

Solusi terpilih

I have the same problem. Roomy Bookmarks Toolbar isn't helpful, it doesn't change this odd behavior of bookmarks bar.

I've come up with so-so workaround: take code for userChrome.css from this question and change max-width to what you need. My code:

#personal-bookmarks { max-width: 200px !important; }

If only you can put there smth like "width: auto" so you don't have to increase width manually after each new bookmark. But that doesn't work.

Baca jawaban ini dalam konteks 👍 1

Semua Balasan (4)

more options

Try using an extension like this which provides a bookmark icons only feature for the bookmarks toolbar.

https://addons.mozilla.org/en-US/firefox/addon/roomy-bookmarks-toolbar/

more options

Thanks for the reply.

That's actually exactly what I intend to do. I've tried this both with and without the extension installed. The attached image includes two screenshots: (top) bookmarks toolbar to the left and (bottom) to the right.

When placed to the left, the tabs end up way over to the right and not up against the bookmark toolbar's contents, restricting the amount of space for tabs to fill.

When placed to the right, the bookmark toolbar's contents are not right justified and, again, restricting room for tabs.

Hopefully this clarifies my question.

more options

Solusi Terpilih

I have the same problem. Roomy Bookmarks Toolbar isn't helpful, it doesn't change this odd behavior of bookmarks bar.

I've come up with so-so workaround: take code for userChrome.css from this question and change max-width to what you need. My code:

#personal-bookmarks { max-width: 200px !important; }

If only you can put there smth like "width: auto" so you don't have to increase width manually after each new bookmark. But that doesn't work.

more options

Indeed, it's a shame that there isn't some way to use an 'auto' type script. For the time being, though, I'd consider this a useful work around.

Thanks a lot for the tip :-)