rave

about it...

navigate

Make Firefox look like IE7

« Previous // Next »

A lot of users like the new layout of Internet Explorer 7 but still prefer to use Firefox. I must admit myself that out of the box, IE7 looks light and fresh in comparison, but I still prefer to use Firefox. So if you're one of those users who thinks IE7 did a great job on the new interface, here's how to mimic the look in Firefox.

Limitations

Of course there are limitations and you will not be able to make Firefox look exactly like IE7. The biggest reason for this is IE7's new command bar shares real estate with the tab bar. Also, the command bar and extra buttons on the tab bar allows users to function fine without the menu bar.

The Process

Taking a look at IE7, we see Microsoft fit everything onto two bars at the top. The first part of the process then is to move everything on to one bar and have the FF tab bar visible by default.

Turn on tabs by default
  • Under the "Tools" menu, select "Options..."
  • Select the "Tabs" icon
  • Check the option labeled "Always show the tab bar."
  • Click Ok

The tab bar is now visible all of the time, even with only one tab open.

Condensing items to the menu bar

Since removing the menu bar would be a huge dent in Firefox's usability and the menu itself cannot be moved, we will move all items from the navigation bar to the menu bar. Items will have to be dragged before or after the menu itself, preferably keep the menu just to the left of the search box. Here is a quick order of arrangement: Back/Forward buttons, separator, new tab button, location bar, stop/home buttons (additional buttons fit best here also), separator, MENU, search bar.

  • Right click on an icon or the menu bar and select "Customize."
  • Drag and drop items on the navigation bar onto the menu bar.
  • Drag and drop unwanted items back onto the open dialog box.
  • Make sure the navigation bar is empty and click "Done."
  • Remove the navigation bar by right clicking again and unchecking it.

You will have noticed in the screenshot that I taken out the refresh button. You may opt to keep it but I find the "Go" button (attached to the location bar) also works nicely for refreshing although it doesn't remember the position of the page you were on. You could also use the keyboard shortcuts F5 or Ctrl+Shift+R.

Menu bar workaround

It's definitely looking closer except for the menu taking up a good amount of our limited space. We can't turn it off but what we can do is have it slide into view when rolling over an indicator. Another option is to use the "Tiny menu" extension which shows the menu in a drop down list once clicked on, but the downside is it adds that extra click.

To have our menu slide in we need to add some CSS to the userChrome.css file. Depending on your operating system, the path to the file is (where xxxxxxxx is a random string of 8 characters):

  • Windows XP/2000: C:\Documents and Settings\[Username]\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\chrome\
  • Linux: ~/.mozilla/firefox/xxxxxxxx.default/chrome/
  • Mac OS X: ~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/chrome/

Once the file has been located, open it in a text editor and add the following CSS after the "@namespace url(..." line:

/* Show the menu indicator (background image) by adding padding to the left */
#menubar-items { background: url("data:image/gif;base64, R0lGODlhIgAMAJECACwsLHZ2dv///wAAACH5BAEAAAIALAAAAAAiAAwAAAIylI+py+0Po5zUgCuwBZtnewSCmHjm951nOJZgenHqy5LvfOCeIdr3vTJpWr6K8YhMLgoAOw==") no-repeat 3px center !important; padding-left: 42px !important; }
/* Don't display the menubar by default */
#menubar-items > #main-menubar { display: none; !important; }
/* When hovering on the indicator, show the menubar as a block element */
#menubar-items:hover > #main-menubar { display: block; !important; }
/* While showing the menubar, remove the indicator and it's padding */
#menubar-items:hover { background: none !important; padding-left:0 !important; }

Save your file as userChrome.css if you used the example file. You'll notice that I've included comments on each CSS line if you wish to understand how this is done.

The long line of jibberish set for the background url is a base64 image. Basically this is just an image drawn by code (encrypted) and it eliminates having to find an external image file to use.

I've included extra code for more base64 images so you may select your own. Simply replace the data in the CSS background element (between the quotes) with one below. The images below show what the image will look like:

1
data:image/gif;base64, R0lGODlhIgAMAJECACwsLHZ2dv///wAAACH5BAEAAAIALAAAAAAiAAwAAAIylI+py+0Po5zUgCuwBZtnewSCmHjm951nOJZgenHqy5LvfOCeIdr3vTJpWr6K8YhMLgoAOw==
1
data:image/gif;base64, R0lGODlhIgAMAJECACwsLHZ2dv///wAAACH5BAEAAAIALAAAAAAiAAwAAAIylI+py+0Po5z0BAOy0Bh0v2HGhZDh6YGpqFru0YaZ1sbji7JILd5lH+MEOaaK8YhMLgoAOw==
1
data:image/gif;base64, R0lGODlhDQAFAJECAJ+fnzo6Ov///wAAACH5BAEAAAIALAAAAAANAAUAAAIRlGASida22EmhVvlUmo5KUQAAOw==
1
data:image/gif;base64, iVBORw0KGgoAAAANSUhEUgAAADsAAAAVCAY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GANQBAOh4Oq1aqQ4sHBAT0+PhKuhUzxi9wP+qFmwEmLi4sS5AY5IoxGo5Ak2JqZmRHA9vf3wRI9Pz8Lk3G73SIZuXJz1yS4/vz8fBfgwAScEIyhxiDNvb092tnZodvbW7AkGOt0OrS8vCySkSuvWjTZxGEGX9k0fiwtLe2ijhTbh1PCTOCcr6+vAjwae7vdFsCLxeLPRqPxi/Mr6HVqzEttQ0GPavr9/tqokQAErL9SqRD3PyFFjAGgcp2c05Tvodnll1ih8Npxa3Z2No4xmApqT3FHAEbfQ+CcAce4BlVfoUxiy4M3X+fJHjOYGGQJlhSmFDkiUI8sXQA7lhfPPTUnMgnmxnYF0Wj0eyaTsd7f349Z/MLCgrS6utpJJBLnH+0KtLpw1sx+bpLgPnVoblegte8xU/0N5b8AAwAgWahNHK20TgAAAABJRU5ErkJggg==

Recommended extensions

One of the best Firefox extensions I've used is the "IE Tab" extension which lets you view a page as it would appear in Internet Explorer. Great for designers testing websites or for viewing IE optimized pages without even leaving FF!

View Comment Policy & allowed tags

In effect as of 27th January 2006. ALL comments have to be reviewed before being accepted.

Relevance

Keep comments relevant to DesignLegion, article content, suggestions, requests, praise or critiques.

Formatting

The following tags are enabled for comments:

  • <a> (hyperlinks)
  • <code> (code section or quotes)
  • <cite> (Cite text)
  • <strong> or <b> (bold text)
  • <u> (underline)
  • <em> or <i> (italics)

The following classes are enabled:

  • .exclamation (for highlighting)

Spammers beware

If a comment has been classed as spam it will be deleted. Comments must be approved by the moderator and will not be displayed until approved.

If a comment seems to be relevant but the name/website seems to be an advertisement, then the given web url will be deleted and even changed to "Anonymous."

Private Matters?

If needing to contact me about private issues, please use the contact page.

XX

XX