ghacks Technology News

How to compact your firefox bookmarks tab

The length of the bookmarks tab in firefox has been bothering me for a while. It is equal to the length of the largest entry which could mean that it could quickly clutter your interface when you have some sort of subfolder system that I use. One method to overcome this would be to strip every bookmark so that it would never use more than 20 chars, everything else would be cut off. I did that for some time but discovered a way that makes everything so much easier.

You need to access the userchrome.css file of your firefox installation, for windows xp it is located in C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\chrome – take a look at the official firefox support page if you want to located this file on different systems. If you never edited this file you will find a file called userChrome-example.css instead of userChrome.css. Rename this file by removing -example and you are ready to edit it.

Open userChrome.css in a text editor, scroll to the bottom and add the following line:

menu.bookmark-item,menuitem.bookmark-item {max-width:20em !important;}

Your bookmarks will now have a maximum width of 20em no matter how large the entry actually is, if it is larger it will be cut off with ..

You may need to play around with the 20 a little bit, some prefer even smaller values, some want to see more. If you reduce the value you will see less chars but have more space while a larger number displays more text of the bookmark.

Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook or Twitter.

Related Articles:

Share Bookmarks between IE and Firefox
Add Trash To Firefox Bookmarks
Add Delicious Bookmarks to Firefox
Remove Selected Bookmarks From The Firefox Address Bar
Replace Bookmarks In Firefox



About the Author:Martin Brinkmann is a journalist from Germany who founded Ghacks Technology News Back in 2005. He is passionate about all things tech and knows the Internet and computers like the back of his hand. You can follow Martin on Facebook or Twitter.

Author: , Tuesday September 5, 2006 -
Tags:, , ,


Responses so far:

  1. Arqueiro says:

    more one nice sweet from ghacks thanks!

  2. Arinte says:

    I want the opposite effect. My RSS feeds show up to short in firefox. Is there anyway I can increase the text length size?

  3. Smartipants says:

    You can also not include a name for the bookmark at all – you can still identify the bookmark by the “favourite” icon (e.g. Google’s “G”, slashdot’s “/.” icon, Tom’s Hardware’s “hammer” icon, etc.)

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

Subscribe without commenting

© 2005-2012 Ghacks.net. All Rights Reserved. Privacy Policy - About Us