LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 11-05-2004, 06:27 PM   #1
dwmorton
LQ Newbie
 
Registered: Apr 2004
Location: Illinois, USA
Distribution: Fedora 12 & 13, x86_64
Posts: 20

Rep: Reputation: 0
Firefox, fonts and userChrome.css


Hi!

I am having trouble getting good-looking fonts in Firefox 1.0. I added a section to my userChrome.css file which fixed about 90% of the problem:

menubar, menubutton, menulist, menu, menuitem, textbox, toolbar, tab, tree, tooltip {
font-family: helvetica !important;
font-size: 14px !important;
}
window {
font-family: helvetica !important;
font-size: 14px !important;
}

The menus and html text look great. However, fonts in dialog boxes and pop-up alerts look kind of choppy. For example, go to www.google.com - the text looks bad in the buttons labeled "google search" and "I'm feeling lucky". Or, type in an incorrect web address and the pop-up warning saying that the address can't be found has ugly text.

I am sure this is just a matter of knowing the correct options for the userChrome file. I have searched the example list at mozilla.org (http://www.mozilla.org/unix/customizing.html) and done extensive googling. However, I have not been able to find a good, complete description of how to configure this file.

Does anyone know where to find complete documentation on the userChrome.css file. Or does anyone know how to make these fonts look better?

Thanks, in advance.
 
Old 11-05-2004, 07:05 PM   #2
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
I had a similar problem recently - after some upgrades, all the menu and button fonts in all my GTK applications looked large and ugly. I still haven't figured out how to configure that font preference system-wide, but for Firefox at least there's the userChrome.css. Here's what I put in mine:

Code:
* {
  font-size: 14px !important;
  font-family: sans !important;
}
The "*" takes care of pretty much everything. I still get the ugly fonts occasionally in drop-down boxes on webpages (maybe that's covered in userContent.css), but the Google buttons you mentioned are covered by the "*" directive above.

Unfortunately the documentation for userChrome.css seems to be severely lacking. What would be really nice is a GUI interface to configuring user stylesheets - hard to believe there's no plugin for that yet. The best we can do for now I guess is to try to learn from existing examples.

Last edited by wapcaplet; 11-05-2004 at 07:07 PM.
 
Old 11-05-2004, 08:02 PM   #3
dwmorton
LQ Newbie
 
Registered: Apr 2004
Location: Illinois, USA
Distribution: Fedora 12 & 13, x86_64
Posts: 20

Original Poster
Rep: Reputation: 0
I'll give it a try!

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox fonts rino.caldelli Mandriva 2 10-23-2005 06:53 AM
Firefox Fonts Problem adds2one Linux - General 2 09-21-2005 04:22 PM
fonts in Firefox lumiwa Linux - Newbie 2 09-17-2005 05:12 PM
Limited CSS support in firefox? NonSumPisces Linux - Software 5 07-06-2004 09:16 PM
Firefox Fonts jeffman12 Linux - Software 6 06-07-2004 03:10 PM


All times are GMT -5. The time now is 10:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration