*フォントサイズの設定 [#hc4f440a] フォントのサイズを設定するには、 ''font-size''プロパティを設定します。 <pre> COLOR(red):font-size: COLOR(blue):サイズ </pre> font-sizeプロパティは、 フォントをサイズを設定できます。 サイズには、次の値を設定できます。 -単位つき数字: 9pt, 1.5em -%: 指定した要素の親要素のフォントサイズに対する割合 -smaller: 親要素のフォントサイズに対して一段小さい -larger: 親要素のフォントサイズに対して一段大きい -段階的な指定: xx-small x-small small medium large x-large xx-large 段階的な指定の場合、 「xx-small」から「xx-large」までの7段階で指定できます。 「medium」は標準のサイズです。 <pre> .xx-small { COLOR(red):font-size: COLOR(blue):xx-small; } .xx-large { COLOR(red):font-size: COLOR(blue):xx-large; } .f9pt { COLOR(red):font-size: COLOR(blue):9pt; } .f80par { COLOR(red):font-size: COLOR(blue):80%; } </pre> &br; &navi2(Lecture/InfoDesignB2004/8th,next);進んでください。 ---- #navi2(Lecture/InfoDesignB2004/8th,prev,toc,next) |