CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Darrell Norton's Blog [MVP]

Fill in description here...

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!



Comments

Darrell said:

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!
# May 13, 2004 3:50 PM

Dave said:

Laptop rebuild is done, installed Firefox, used your tips. Good stuff. The browser seems super fast.
# May 13, 2004 7:20 PM

Darrell said:

Dave - for an added speed boost, see this tip:
http://texturizer.net/firefox/tips.html#oth_rendering
# May 14, 2004 2:18 AM

Pietro said:

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.
# May 28, 2004 11:19 PM

Cathy said:

This tip worked fine for Firefox 0.93, but it's not working for 1.0. Hints?
# September 15, 2004 8:49 AM

Darrell said:

Not sure, I haven't been able to use Firefox 1.0 yet! :) They haven't made it configurable through the UI have they?
# September 15, 2004 8:53 AM

Cathy said:

Found this on Firefox Forums and it works for me:

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

#searchbar {
-moz-box-flex: 200 !important;
}
# September 15, 2004 9:12 AM

Darrell said:

They must have added a new element. Thanks for the research!
# September 15, 2004 10:35 AM
Check out Devlicio.us!

Our Sponsors

Free Tech Publications