自定义firefox菜单栏字体(windows版本)

XP下的firefox界面的字体实在是太没美感了,即使给满目宋体的XP装了微软雅黑字体,但只能在一些允许自定义界面字体的软件上可以选择雅黑字体,firefox便是其中之一。

虽然可以在firefox的选项中对content设置,但是菜单栏,状态栏的字体甚至一些扩展的字体,比如echofon的字体也是宋体,看条twitter都觉得累,于是找来一个可以自定义firefox界面字体的方法:

当然,你喜欢的话,可以查看官方的说明:http://www.mozilla.org/unix/customizing.html

在C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles*******.default\chrome目录下面拷贝userChrome-example.css为 userChrome.css, 如我的就直接在文件中加入了下列内容:


menubar > menu, menubar, menubutton, menulist, menuitem {
 font-size: 12px !important;
 font-family: "Microsoft YaHei" !important;
}

dialog, box, button, page, label, caption, textbox, input, select {
 font-size: 12px !important;
 font-family: "Microsoft YaHei" !important;
}

menupopup > * {
 font-family: "Microsoft YaHei", Arial !important;
 font-size: 12px !important;
}

/*
 * Give the Location (URL) Bar a fixed-width font
 */
 #urlbar {
 font-family: "Microsoft YaHei" !important;
 font-size: 12px;
 }

window {
 font-size: 12px !important;
 font-family: "Microsoft YaHei" !important;
}
,
15th July 2010 0 comments Permalink

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Statistical data collected by Statpress SEOlution (blogcraft).