If you want to do some serious Modifying to the Firefox interface, you're going to have to get your hands dirty and edit a file called userChrome.css. This file is a cascading style sheet and contains instructions on how the Firefox interface should display.
Before you can edit the file, though, you need to create it, because by default, Firefox doesn't create one for you. You'll need to take an existing .css file, and rename it to userChrome.css. In Windows Vista, go to C:\Users\Your Name\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default\chrome, where Your Name is your account name, and the .xxxxxxxx is a random selection of eight characters.
In Windows XP, go to C:\Documents and Settings\Your Name\Application Data\Mozilla\Firefox\Profiles\default.xxxxxxxx\chrome, where Your Name is your XP account name, and the .xxxxxxxx will be a random selection of characters. In the folder, you'll find a file called userChrome-example.css. Rename that userChrome.css, and you'll be ready to start editing.
Note: The Application Data folder may not be visible to you unless you have checked the option to display hidden files and folders. To do this from a folder window, click on Tools and select Folder Options, then click on View, then select the radio button for Show hidden files and folders.
The userChrome-example.css file is a plain-text file, so you'll edit it with a text editor such as Notepad or an alternative. As you'll see in the following tricks, you'll add code and text to the userChrome.css file in order to change the Firefox interface.
It's a good idea, when inserting the code, to include a reminder so that later you remember what that code does. The file userChrome.css will ignore your reminder and won't try to interpret it as code. To create a reminder, surround your comments with /* to begin and */ to end, like this:
/* This is a comment */
The userChrome.css file will ignore everything inside the /* and */.
With that background under your belt, it's time to teach Firefox some new tricks.
0 comments:
Post a Comment