Google   








[CSS] 字體大小 font-size (絕對尺寸&相對尺寸)
031 喀麥隆
註冊日期:
2009/7/2 16:34
來自 異世界爪哇島
所屬群組:
會員
文章: 305
等級: 16; EXP: 33
HP: 0 / 383
MP: 101 / 16510
[文章作者] Goodz文組。爪哇
[文章網址] http://www.goodz.tw > 電腦密技館




>>> 回到《CSS代碼》目錄



字體大小 font-size (絕對尺寸) 瀏覽器顯現結果
<p style="font-size: xx-small;">xx-small</p>

xx-small

<p style="font-size: x-small;">x-small</p>

x-small

<p style="font-size: small;">small</p>

small

<p style="font-size: medium;">medium (預設值)</p>

medium (預設值)

<p style="font-size: large;">large</p>

large

<p style="font-size: x-large;">x-large</p>

x-large

<p style="font-size: xx-large;">xx-large</p>

xx-large

[說明] 以上各尺寸相互約差1.5倍
   
   
   
字體大小 font-size (相對尺寸) 瀏覽器顯現結果
<p style="font-size: smaller;">字體 smaller</p>

字體 smaller

<p>字體 normal</p> 字體 normal
<p style="font-size: larger;">字體 larger</p>

字體 larger


發表日期2009/8/22 11:31
_________________
美好的清晨一起來杯爪哇咖啡吧!






可以查看文章。
不可發表文章。
不可回覆。
不可編輯自己的文章。
不可刪除自己的文章。
不可發起投票調查。
不可在投票調查中投票。
不可上傳附件。
不可不經審核直接發表。

[進階搜索]


Goodz © 2005-2029 GP
本站會員之個人言論或行為、不代表本站之立場與看法
...