Darrell Norton's Blog [MVP]

Sponsors

The Lounge

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 search box in Firefox 1.0PR

Firefox 1.0PR broke the old way of making the search box wider. The new way is to add this to your userChrome.css file (I like my search box BIG, you can adjust the number to suit):

/* Make the Search box flex wider */

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

This is much easier if you get the chromEdit extension, which allows you to edit userChrome.css, userContent.css or user.js, without the hassle of finding your profile.


Posted 09-29-2004 12:30 PM by Darrell Norton

[Advertisement]

Comments

Scott Galloway wrote re: Change the size of the search box in Firefox 1.0PR
on 09-29-2004 10:43 AM
I use the PrGooglebar extension, pretty much like the google toolbar on IE (http://www.prgooglebar.org/), it has PageRank and stuff which is pretty cool...
Jason Row wrote re: Change the size of the search box in Firefox 1.0PR
on 09-29-2004 1:36 PM
Thanks for the tip Darrell. I never knew about the UserChrome.css file. Something else for me to play with now.
Smeghead wrote re: Change the size of the search box in Firefox 1.0PR
on 10-03-2004 12:48 AM
WRONG. Flex is the priority of the sizing.

use this code..


#search-container
{
width: 20em;
}

#searchbar
{
width: 20em;
}


Counterpart wrote re: Change the size of the search box in Firefox 1.0PR
on 10-19-2004 7:47 AM
@Smeghead

Thanks a lot for the help! That was just what I needed. Firefox just keeps getting better! (Just switched from IE yesterday.)
Aaron wrote re: Change the size of the search box in Firefox 1.0PR
on 12-08-2004 5:19 AM
I don't get it, both seem to work. I'm confused.

Scott Galloway, the search bar can contain other sites besides google. I use googlebar and the builtin searchbar in FF
TrackBack wrote Widen your Firefox search box
on 02-18-2005 6:45 AM
One of the many useful features of the Firefox web browser is the Google / Amazon / Yahoo / WhereverYouWannaSearch box in the upper-right hand corner of the browser. Except it's such a little box and you've got big...
TrackBack wrote Widen your Firefox search box
on 02-18-2005 8:06 AM
n/a
Herr Theoretiker wrote re: Change the size of the search box in Firefox 1.0PR
on 02-18-2005 10:20 AM
Neither of the proposed ways worked for me.

Maybe this isn't possible in OSX? I really wish it was, though... the search box is way too short.
seth wrote re: Change the size of the search box in Firefox 1.0PR
on 02-18-2005 3:16 PM
What about the plugin "ResizeSearchBar"? This way when you resize the window, the search bar size can be adjusted.

http://dragtotab.mozdev.org/resizesearchbox/
anon wrote re: Change the size of the search box in Firefox 1.0PR
on 02-19-2005 8:42 AM
Forget hacking custom code setting a fixed search box size. Use the extension:

https://update.mozilla.org/extensions/moreinfo.php?application=firefox&id=349&vid=1080

Resize Search Box 0.0.2
by Nathar Leichoz
released on November 01, 2004

Allows you to use a resize thumb to resize the search box. The resize thumb can be enabled by customizing the toolbar.
Darrell wrote re: Change the size of the search box in Firefox 1.0PR
on 02-19-2005 9:40 AM
That extension was not available when I made this post. I will be posting something Monday morning linking to Nathar's excellent extension.
TrackBack wrote Resize the Firefox search bar extension
on 02-21-2005 7:48 AM
Kevin wrote re: Change the size of the search box in Firefox 1.0PR
on 02-25-2005 10:42 AM
Sadly enough, took me awhile to figure out how to install this (new to FireFox and it's extentions!). I have always hated that small search window.... now I can see!!! Thanks!
How to enlarge/shrink the Firefox search box. - The Digg Effect - Search for Diggs or get Dugg wrote How to enlarge/shrink the Firefox search box. - The Digg Effect - Search for Diggs or get Dugg
on 05-26-2006 1:34 AM
Popular Diggs » How to enlarge/shrink the Firefox search box. wrote Popular Diggs » How to enlarge/shrink the Firefox search box.
on 02-07-2007 1:34 AM
http://sourcesafe.codebetter.com/blogs/darrell.norton/archive/2004/09/29/27160.aspx wrote http://sourcesafe.codebetter.com/blogs/darrell.norton/archive/2004/09/29/27160.aspx
on 03-27-2008 5:24 AM