スタイルシートを使用してフォントサイズの指定を行う場合、いくつかの方法があります。 absolute size キーワードで指定、フォントサイズはUAに依存 ex.)small, medium relative size 親要素に対しての相対指定 ex.)smaller, larger length 正数で指定、使用できる単位は「in, cm, mm, pt, pc, em, ex, px」 ex.)10pt, 1em percentage 親要素に対してのパーセント(%)指定 ex.)100%, 120% この中から、キーワード、em、pt、px、パーセントで指定をし、主要フォントでどのように表示されるかを比較しました。 フォントスタイルは、上から「メイリオ」「MS Pゴシック」「ヒラギノ角ゴシックW3」「Osaka」の順番で、「メイリオ」はWindows Vista、「MS Pゴシック
Better fonts - over 10,000 fonts for free 10,000種類以上のフリーフォントを試してダウンロードできる「better fonts」。 左カラムにサンプルのフォントが多数表示されていて、クリックすると、そのフォントで描画された文字サンプルが右カラムに表示されます。 簡単にプレビューをみれるので、サイトデザイン時などに、デザインに合った理想のフォントを探すのに便利そうです。 独自に入力したテキストを元にフォントを描画することもできます。 次のようにJavaScriptの入力ボックスが現れるので入力してOKボタンを押します。 ↓ その場ですぐ表示可能。 ダウンロードのその画面内、「Download Font!」ボタンでダウンロード可能です。 これは便利ですね。 関連エントリ オンラインでフォント表示テストを行える『Font Tester』
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く