WEB標(biāo)準(zhǔn)字體常規(guī)定義
更新時間:2006年09月25日 00:00:00 作者:
web標(biāo)準(zhǔn)推薦如下字體定義方法:
body { font-family : "Lucida Grande", Verdana, Lucida, Arial, Helvetica, 宋體,sans-serif; }
* 字體按照所列出的順序選用。如果用戶的計算機含有Lucida Grande字體,文檔將被指定為Lucida Grande。沒有的話,就被指定為Verdana字體,如果也沒有Verdana,就指定為Lucida字體,依此類推。
* Lucida Grande字體適合Mac OS X;
* Verdana字體適合所有的Windows系統(tǒng);
* Lucida適合UNIX用戶
* "宋體"適合中文簡體用戶;
* 如果所列出的字體都不能用,則默認(rèn)的sans-serif字體能保證調(diào)用。
body { font-family : "Lucida Grande", Verdana, Lucida, Arial, Helvetica, 宋體,sans-serif; }
* 字體按照所列出的順序選用。如果用戶的計算機含有Lucida Grande字體,文檔將被指定為Lucida Grande。沒有的話,就被指定為Verdana字體,如果也沒有Verdana,就指定為Lucida字體,依此類推。
* Lucida Grande字體適合Mac OS X;
* Verdana字體適合所有的Windows系統(tǒng);
* Lucida適合UNIX用戶
* "宋體"適合中文簡體用戶;
* 如果所列出的字體都不能用,則默認(rèn)的sans-serif字體能保證調(diào)用。