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.




Tags: , , ,
Categories: Browsing, firefox



Related posts:

Firefox Bookmarks Toolbar Tweak
Fix: Cannot Delete Firefox 3 Bookmarks
Sort your Firefox Bookmarks
Fast Firefox 3 Unsorted Bookmarks Access
Share Bookmarks between IE and Firefox
Add Delicious Bookmarks to Firefox
Firefox Bookmarks Gone ! What now ?
Check For Dead Bookmarks in Firefox 3

4 Responses to “How to compact your firefox bookmarks tab”

  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.)

Trackbacks/Pingbacks

  1. [...] How to compact your firefox bookmarks tab [...]

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

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