Enlarge the font size on a web page

From LemonWiki共筆
Jump to navigation Jump to search

放大網頁上的字體大小

總是放大字體大小

所有網頁上的字體大小都會放大,除非回復瀏覽器設定。

Google chrome

設定 Google Chrome 預設網頁縮放大小 - 海芋小站

Mozilla Firefox

法一:上方選單列:工具: 「選項」→「內容」標籤: 字型與色彩: 「進階」: 最小字型大小 → 設成12

356657181_25429b4c7d.jpg
Image hosted at Flickr


法二: NoSquint: Firefox Extension "NoSquint is a Firefox extension that allows you to adjust the default text zoom level, which is very useful if you have a small display or run at a very high resolution. NoSquint also remembers the zoom level per site" cited from the offical site.


法三: {profile}/chrome/userContent.css


法四:

  1. 先安裝Stylish套件
  2. 關閉Firefox, 再重新執行Firefox
  3. 載入user style: 點選Readable text on white background網頁上的「load into the Stylish」按鈕載入user style
@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document url-prefix(http://), url-prefix(ftp://), url-prefix(file://), url-prefix(https://) {

* { color: black !important; background: none !important; background-color: white !important;  line-height: 160% !important; font-size: 12pt !important;}


a:link {color:#0000EE !important;}
a:visited {color: #551A8B !important;} 
a:hover, a:active { color: red !important;}

}

因為上述樣式會套用到所有網站,若要限定部分網站,請自行修改url-prefix(http://) 為url-prefix(特定網站網址)

參考資訊:

MS Internet Explorer

網路報馬仔 教學

臨時放大字體大小

單一網頁上的字體大小臨時放大,重新整理(reload)網頁後會恢復。

Bookmarklets for comfortable reading

javascript:(function(){var newSS, styles='* { background: white ! important; color: black !important; line-height: 160% !important; font-size: 12pt !important; letter-spacing:2px !important } :link, :link * { color: #0000EE !important } :visited, :visited * { color: #551A8B !important }'; if(document.createStyleSheet) { document.createStyleSheet(%22javascript:'%22+styles+%22'%22); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName(%22head%22)[0].appendChild(newSS); } })();


  • Bookmarklets for Zapping Annoyances --> zap style sheets (for IE Browser msie.png , Firefox browser_firefox.png ): 忽略網頁設定樣式,總是能達到放大字體大小的效果。 (last visited: 2007-01-04)


print friendly tool / 手動製作「友善列印」的網頁

other tools

增加網頁可讀性(readability)的其他工具

易讀性設計建議 (給網頁開發者)

易讀性設計建議

  1. 使用夠大的預設字體;
  2. 給頁面留一點空白,讓文字可以呼吸,走文不要塞滿整個螢幕;
  3. 行間距離建議使用140% line height; (老貓按:中文行間建議使用160~170%)
  4. 文字和底色的對比要夠清楚;
  5. 不要把文字做成圖型。