学科:Firefox一分钟教室/缩放字体大小

来自维基学院

超快速步骤[编辑 | 编辑源代码]

  1. 先来个人设定档的 chrome 目录下:
    • Windows XP:C:\Documents and Settings\你的账号\Application Data\Mozilla\Firefox\Profiles\一堆奇怪字母.default\chrome。
      • 注意:您必须在"资料夹选项"的"检视"内把"隐藏档案和资料夹"的"显示所有档案和资料夹"选起来,才看得到Application Data。
    • Linux: ~/.mozilla/firefox/********.default/chrome/ 或者 ~/.firefox/********.default/chrome/
    • 其他操作系统个人设定档的目录:http://moztw.org/firefox/1.0#profilefolder 。尚需移至Profiles\********.default\chrome。
      • 以上目录只是参考用,通常会是以上的目录,但与您的操作系统、Firefox如何安装有关。
  2. 找出userChrome-example.css
  3. 将它更名为userChrome.css,如果找不到userChrome-example.css,直接来这里下载userChrome.css。
    • 您可以在图示上点鼠标右键选重新命名
    • Linux命令列可以下mv userChrome-example.css userChrome.css
  4. 看他里面说明
/* ----- piaip: Uncomment lines below and change the 14 to some value
                that fits best on your system. Remember to entirely
                restart your Mozilla. And you must NOT put any space 
                between 14 and the word 'pt'.
                [Big5] 如果你的 Mozilla 看起來字太小/大,可把下面的 
                  註解(就是寫「請刪除此行」的那兩行) 拿掉,再把 14 換成
                  適合你的系統的字型大小。記得要完全重開 Mozilla。
                  還有注意 14 與 pt 中間不可有空白。
*/ 
/* --- Delete this line if you need [big5] 如要變換字型大小請刪除此行
* {
 font-size: 14pt !important;
}
--- Delete this line if you need [big5] 如要變換 字型大小請刪除此行 */
  1. 把他说的那两行砍掉,也就是
    • /* --- Delete this line if you need [big5] 如要变换字号请删除此行
    • --- Delete this line if you need [big5] 如要变换 字号请删除此行*/
  2. 14可换成任意想要的字号。
  3. 将此档案存档,最后把Firefox关掉,重开一次。

结果[编辑 | 编辑源代码]

字号果然变了。

你也可以...[编辑 | 编辑源代码]

看看人家怎么改的 http://moztw.org/docs/usage/uifont/