Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Forcing UI font to sans serif?

5 views
Skip to first unread message

Tommi Nieminen

unread,
Aug 27, 2006, 1:34:44 PM8/27/06
to
I'm using Firefox and Thunderbird on a Windows XP box whose visual
styles are controlled by TGT Soft's StyleXP. Changing the Windows style
sometimes causes Mozilla programs -- one or both of them -- to use a
different user interface font than all the rest of Windows. Most often,
menu and dialog fonts change to serif while sans serif is used elsewhere
in Windows.

This behaviour can be changed with the following userChrome.css
directive, but with a cost:

* {
font-family: sans-serif;
}

(I haven't found it necessary to add "! important".) This really changes
the UI font to sans serif, but the dialog box font, for example, is also
ridiculously large.

Now, more specific anchors must exist for setting only the menu and
dialog fonts. I've tried running "strings" through the exe files but no
help there: not even the anchors mentioned in userChrome-example.css
files are found (like "urlbar", "throbber" for Ff). Are the anchors
mentioned in the chrome\*.jar files or where? Has anyone written a list
of them somewhere?

--
.... Tommi Nieminen .... http://tommi.legisign.org/ ....
We learn from experience that men never learn anything from
experience. -G. B. Shaw-
.... tommi dot nieminen at legisign dot org ....

0 new messages