Can Firefox menus use different fonts to display items in different languages?
May 15, 2008 12:16 PM   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 answers 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, 2008


Response by poster: 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, 2008


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, 2008


« Older Adult diagnosis of a learning disability and where...   |   Another Private Parts Question Newer »
This thread is closed to new comments.