Darrell Norton's Blog [MVP]

Sponsors

The Lounge

Wicked Cool Jobs

News

  • Darrell Norton pic

    MVP logo

    View Darrell Norton's profile on LinkedIn

    Currently Reading:

    weewar.com

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
Change the size of the Google search box in Mozilla

I use the Google search box in Mozilla a lot. I press the keyboard shortcut control+k, type in my search terms, hit Enter, and BAM! Most of the time my search terms are longer than the text box can show, so I found this cool little tweak to make the search box bigger.

To change the default size of the Google search box in Mozilla Firefox, follow these steps:

  1. Navigate to C:\Documents and Settings\your_profile_name\Application Data\Phoenix\Profiles\default\xxxxxxxx.slt\chrome
  2. Assuming you have not already done so, rename userChrome-example.css to userChrome.css.
  3. Add the following lines to the end of the file:
    /* Make the Search box flex wider */
    #search-container {
       -moz-box-flex: 400 !important;
    }
  4. Tweak the 400 number to suit.

There are tons more tips like this here. Another one of my favorites, “change the cursor for links that open in a new window (to a crosshair).” Yeah!


Posted Thu, May 13 2004 11:29 AM by Darrell Norton

[Advertisement]

Comments

Dave Donaldson wrote re: Change the size of the Google search box in Mozilla
on Thu, May 13 2004 3:46 PM
I haven't had a chance to use Firefox yet, but as soon as I finish rebuilding my laptop, I'm going to get it (I keep hearing how good it is). I'll be sure to check out your tip.
Darrell wrote re: Change the size of the Google search box in Mozilla
on Thu, May 13 2004 3:50 PM
Dave - it took me a little while to get used to it, but now I prefer Mozilla over IE by far. Make sure to download the IEView extension. Go to a web site that requires IE, right-click, Open in IE. That's it!
Dave wrote re: Change the size of the Google search box in Mozilla
on Thu, May 13 2004 7:20 PM
Laptop rebuild is done, installed Firefox, used your tips. Good stuff. The browser seems super fast.
Darrell wrote re: Change the size of the Google search box in Mozilla
on Fri, May 14 2004 2:18 AM
Dave - for an added speed boost, see this tip:
http://texturizer.net/firefox/tips.html#oth_rendering
Pietro wrote re: Change the size of the Google search box in Mozilla
on Fri, May 28 2004 11:19 PM
Hallo, I preferred the Mozilla system, I write words in the url bar and then I choose to search them. How can I add the mozilla search feature to the url box of firefox? So I can use one box only, instead of two.

Thanks, Pietro.
Cathy wrote re: Change the size of the Google search box in Mozilla
on Wed, Sep 15 2004 8:49 AM
This tip worked fine for Firefox 0.93, but it's not working for 1.0. Hints?
Darrell wrote re: Change the size of the Google search box in Mozilla
on Wed, Sep 15 2004 8:53 AM
Not sure, I haven't been able to use Firefox 1.0 yet! :) They haven't made it configurable through the UI have they?
Cathy wrote re: Change the size of the Google search box in Mozilla
on Wed, Sep 15 2004 9:12 AM
Found this on Firefox Forums and it works for me:

#search-container {
-moz-box-flex: 200 !important;
}

#searchbar {
-moz-box-flex: 200 !important;
}
Darrell wrote re: Change the size of the Google search box in Mozilla
on Wed, Sep 15 2004 10:35 AM
They must have added a new element. Thanks for the research!
Devlicio.us