Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > CSS
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

CSS CSS styling code help for your website, CSS is like art and what makes your website look professional.

Google
Reply
 
LinkBack Thread Tools Display Modes
Old 07-01-2007, 1:15 PM   #1
DK
 
DK's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Firefox search box - how can I make it higher?

The default height of the search box is too small on my hi res. screen.

There must be a way to edit userChrome.css to make it higher and
more visible. Unfortunately, I did lots of googling and can't find an
answer (short of learning programming, style sheets and Fireffox
design).

Can anyone kindly help?

Thank you very much,

DK

 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Advertisements
Old 07-01-2007, 1:15 PM   #2
Roland de Ruiter
 
Roland de Ruiter's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Firefox search box - how can I make it higher?

DK wrote:
> The default height of the search box is too small on my hi res. screen.
>
> There must be a way to edit userChrome.css to make it higher and
> more visible. Unfortunately, I did lots of googling and can't find an
> answer (short of learning programming, style sheets and Fireffox
> design).
>
> Can anyone kindly help?
>
> Thank you very much,
>
> DK
>

Add the following lines to the userChrome.css file (adjust height/width
values to your likings):

/*
* Adjust width & height of the search box
*/
#find-field {
height: 75px !important;
width: 300px !important;
}


The userChrome.css file can be found in the folder 'chrome' which is a
subfolder of your profile folder. The file doesn't exist by default, but
there should be an example file called userChrome-example.css, which you
simply could rename by removing the -example part. For additional
information, see <http://www.mozilla.org/support/firefox/edit#css>.
--
Regards,

Roland
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 1:15 PM   #3
DK
 
DK's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Firefox search box - how can I make it higher?

In article <445329d8$0$31639$e4fe514c@news.xs4all.nl>, Roland de Ruiter <roland.de.ruiter@example.invalid> wrote:
>DK wrote:
>> The default height of the search box is too small on my hi res. screen.
>>
>> There must be a way to edit userChrome.css to make it higher and
>> more visible. Unfortunately, I did lots of googling and can't find an
>> answer (short of learning programming, style sheets and Fireffox
>> design).
>>
>> Can anyone kindly help?
>>
>> Thank you very much,
>>
>>

>Add the following lines to the userChrome.css file (adjust height/width
>values to your likings):
>
>/*
> * Adjust width & height of the search box
> */
>#find-field {
> height: 75px !important;
> width: 300px !important;
>}
>


I tried it for the height and, unfortunately, the pixel value makes
no difference whatsoever. Not even when set it to 200 px....
I should probably mention two things, in case they are relevant
to the lack of success with your edits:

It's Firefox 1.07.

The search bar behavior has already been hacked:
a) The file browser.xul inside browser.jar includes
</toolbaritem>
<toolbaritem id="search-container" title="&searchItem.title;"
align="center" flex="1000"
class="chromeclass-toolbar-additional">
<searchbar id="searchbar" flex="1000"/>
</toolbaritem>
b) The file search.xml inside browser.jar includes
enablehistory="true"

This has an effect of search bar resizing itself with the main
window and havign pulldown history list. I woudln't think any
of it should affect the height but as I picked these edits somewhere
on the net, I wouldn't know.

Any other ideas?

Thanks,

DK





 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 1:15 PM   #4
Roland de Ruiter
 
Roland de Ruiter's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Firefox search box - how can I make it higher?

DK wrote:
> In article <445329d8$0$31639$e4fe514c@news.xs4all.nl>, Roland de Ruiter <roland.de.ruiter@example.invalid> wrote:
>> DK wrote:
>>> The default height of the search box is too small on my hi res. screen.
>>>
>>> There must be a way to edit userChrome.css to make it higher and
>>> more visible. Unfortunately, I did lots of googling and can't find an
>>> answer (short of learning programming, style sheets and Fireffox
>>> design).
>>>
>>> Can anyone kindly help?
>>>
>>> Thank you very much,
>>>
>>>

>> Add the following lines to the userChrome.css file (adjust height/width
>> values to your likings):
>>
>> /*
>> * Adjust width & height of the search box
>> */
>> #find-field {
>> height: 75px !important;
>> width: 300px !important;
>> }
>>

>
> I tried it for the height and, unfortunately, the pixel value makes
> no difference whatsoever. Not even when set it to 200 px....
> I should probably mention two things, in case they are relevant
> to the lack of success with your edits:
>
> It's Firefox 1.07.
>
> The search bar behavior has already been hacked:
> a) The file browser.xul inside browser.jar includes
> </toolbaritem>
> <toolbaritem id="search-container" title="&searchItem.title;"
> align="center" flex="1000"
> class="chromeclass-toolbar-additional">
> <searchbar id="searchbar" flex="1000"/>
> </toolbaritem>
> b) The file search.xml inside browser.jar includes
> enablehistory="true"
>
> This has an effect of search bar resizing itself with the main
> window and havign pulldown history list. I woudln't think any
> of it should affect the height but as I picked these edits somewhere
> on the net, I wouldn't know.
>
> Any other ideas?
>
> Thanks,
>
> DK

OK, I thought you were referring to the size of the 'Find in this page'
box which appears at the bottom of the window when you use Ctrl+F (or
Edit > Find in This Page).

For the search engine box (next to the address bar) try to add the
following lines to the userChrome.css file:

/*
* Adjust width & height of the search box
*/
#searchbar {
height: 75px !important;
width: 300px !important;
font-size: 16pt !important;
}

--
Regards,

Roland
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 1:15 PM   #5
DK
 
DK's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Firefox search box - how can I make it higher?

In article <4454834c$0$31653$e4fe514c@news.xs4all.nl>, Roland de Ruiter <roland.de.ruiter@example.invalid> wrote:
>OK, I thought you were referring to the size of the 'Find in this page'
>box which appears at the bottom of the window when you use Ctrl+F (or
>Edit > Find in This Page).
>
>For the search engine box (next to the address bar) try to add the
>following lines to the userChrome.css file:
>
>/*
> * Adjust width & height of the search box
> */
>#searchbar {
> height: 75px !important;
> width: 300px !important;
> font-size: 16pt !important;
>}


Thank you very much and sorry for being so vague in asking
the question. This worked perfectly! Now if I also could force
resize of the search engine icons in the searchbox, I would
be a very happy camper!

The width and font now looks perfect but icons are still too small
to be distinctive enough without paying attention.

I suppose it is possible to specify their px diemnsion explicitely?

Than again,

DK

P.S. How is "address bar" officially called? (The place URLs go)
I'd like to resize it as well to match dimensions of the search bar.
Just to make it all look consistent.
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 1:15 PM   #6
Roland de Ruiter
 
Roland de Ruiter's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Firefox search box - how can I make it higher?

DK wrote:
> In article <4454834c$0$31653$e4fe514c@news.xs4all.nl>, Roland de Ruiter <roland.de.ruiter@example.invalid> wrote:
>> OK, I thought you were referring to the size of the 'Find in this page'
>> box which appears at the bottom of the window when you use Ctrl+F (or
>> Edit > Find in This Page).
>>
>> For the search engine box (next to the address bar) try to add the
>> following lines to the userChrome.css file:
>>
>> /*
>> * Adjust width & height of the search box
>> */
>> #searchbar {
>> height: 75px !important;
>> width: 300px !important;
>> font-size: 16pt !important;
>> }

>
> Thank you very much and sorry for being so vague in asking
> the question. This worked perfectly! Now if I also could force
> resize of the search engine icons in the searchbox, I would
> be a very happy camper!
>
> The width and font now looks perfect but icons are still too small
> to be distinctive enough without paying attention.
>
> I suppose it is possible to specify their px diemnsion explicitely?
>
> Than again,
>
> DK
>
> P.S. How is "address bar" officially called? (The place URLs go)
> I'd like to resize it as well to match dimensions of the search bar.
> Just to make it all look consistent.


To enlarge the search engine icons, use the following lines:

/*
* Change size of the search engine images
*/
.searchbar-engine-image {
height: 60px !important;
width: 60px !important;
}

This rule also cause the black dropdown arrow to be enlarged and in fact
it now blocks the engine icon for a large part. I couldn't find a way to
make this arrow smaller or to move it more to the right, but when you
add the following lines, the arrow will be hidden:

/*
* Hide the black downward pointing arrow
*/
.searchbar-dropmarker-image {
display: none !important;
}


You can use the DOM Inspector to find out the id's and classes of the
various Firefox UI elements. IIRC the DOM Inspector is installed by
default and should be available in menu Tools > DOM Inspector. For more
info see <http://kb.mozillazine.org/DOM_Inspector>.

In the DOM Inspector select the window you want to examine from menu
File > Inspect a Window. Then use Search > Select Element By Click (or
the toolbar button to the left of the binocular button) and click in the
Firefox window on the element you're interested in (for instance the
addressbar). Go back to the DOM Inspector window and you'll see that the
element you just clicked is selected in the element tree. The id of the
addressbar appears to be 'urlbar', so you can add a CSS rule for it in
userChrome.css:

#urlbar {
height: 75px !important;
}

In CSS, rules that apply to an id must start with # (like the #urlbar
and #searchbar rules), rules applying to an element's class must start
with . (like the .searchbar-engine-image rule).

For more info, see
<http://developer.mozilla.org/en/docs/CSS:Getting_Started>
<http://www.w3.org/TR/CSS21/>
--
Regards,

Roland
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 1:15 PM   #7
DK
 
DK's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Firefox search box - how can I make it higher?

In article <4454f597$0$31647$e4fe514c@news.xs4all.nl>, Roland de Ruiter <roland.de.ruiter@example.invalid> wrote:
>To enlarge the search engine icons, use the following lines:
>
> /*
> * Change size of the search engine images
> */
> .searchbar-engine-image {
> height: 60px !important;
> width: 60px !important;
> }
>
>This rule also cause the black dropdown arrow to be enlarged and in fact
>it now blocks the engine icon for a large part. I couldn't find a way to
>make this arrow smaller or to move it more to the right, but when you
>add the following lines, the arrow will be hidden:
>
> /*
> * Hide the black downward pointing arrow
> */
> .searchbar-dropmarker-image {
> display: none !important;
> }
>
>
>You can use the DOM Inspector to find out the id's and classes of the
>various Firefox UI elements. IIRC the DOM Inspector is installed by
>default and should be available in menu Tools > DOM Inspector. For more
>info see <http://kb.mozillazine.org/DOM_Inspector>.
>
>In the DOM Inspector select the window you want to examine from menu
>File > Inspect a Window. Then use Search > Select Element By Click (or
>the toolbar button to the left of the binocular button) and click in the
>Firefox window on the element you're interested in (for instance the
>addressbar). Go back to the DOM Inspector window and you'll see that the
>element you just clicked is selected in the element tree. The id of the
>addressbar appears to be 'urlbar', so you can add a CSS rule for it in
>userChrome.css:
>
>#urlbar {
> height: 75px !important;
>}
>
>In CSS, rules that apply to an id must start with # (like the #urlbar
>and #searchbar rules), rules applying to an element's class must start
>with . (like the .searchbar-engine-image rule).


Fantastic! Thank you so much for your help! I'll play with DOM inspector
in case any other customizations come to mind.

FF is great! Usenet is great too :-)

DK
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Featured Websites
Free Space
Free Space
Free Space Free Space
Reply
Tags: , , ,




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make our search more effective? khunvi Search Engines and Directories 3 06-26-2006 9:48 AM


Featured Websites




All times are GMT +1. The time now is 11:47 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98