学科: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/