Can Firefox menus use different fonts to display items in different languages?
May 15, 2008 12:16 PM   RSS feed for this thread Subscribe

Can Firefox menus use different fonts to display items in different languages?

I have some menu items and live bookmarks that are in different languages, some of which don't use the Latin alphabet. I know how to edit userChrome.css to set the font in general:

menu, menulist, menuitem {
font-family: [someFamily] !important;
}

but the problem is that I can't find a font where every language looks decent. Either English looks fine and the others look like crap, or some other language looks good and English and the rest look terrible.

Is there a way to specify specific fonts for specific languages?
posted by trig to computers & internet (3 comments total)
If Firefox supports styling with the lang selector, that's probably the way forward.
posted by matthewr at 1:11 PM on May 15


Thanks! I'd actually tried that but couldn't get it to work. Might be because I don't know how to use css, though. I tried things like this:

menuitem {
font-family:lang(en) Arial !important;
[etc]
}

and
menuitem:lang(en) { font-family: Arial !important; }
[etc]

What would the right syntax be?
posted by trig at 1:57 PM on May 15


Actually, I don't think Firefox is adding lang attributes to menu items, in which case I'm not sure how you go about solving this from inside Firefox.
posted by matthewr at 2:19 PM on May 15


« Older I'm driving cross country and ...   |   I'm not talking about bread...... Newer »

You are not logged in, either login or create an account to post comments



Related Questions
Change searching in windows in Firefox June 29, 2008
Mozilla, Inc. Department of Redundancy Department May 17, 2008
Fixing Firefox November 13, 2006
How can Greasemonkey Change My Life? July 22, 2006
What are your favorite extensions in Firefox? July 28, 2005