ホーム HTML CSS XML JAVASCRIPT   PHP SQL MORE...   リファレンス 事例集    

CSS3 font-size-adjust プロパティ

CSS3 Reference 完全な CSS3 リファレンス

By specifying the font-size-adjust property, the browser will adjust the font size to be the same regardless of the font family ("verdana" has the aspect value 0.58)

div
{
font-size-adjust: 0.58;
}

Try it yourself »

ブラウザ・サポート

Internet Explorer Firefox Opera Google Chrome Safari

font-size-adjust is only supported in Firefox.


定義と用法

font-size-adjust property gives you better control of the font size when the first selected font is not available.

When a font is not available, the browser uses the second specified font. This could result in a big change for the font size. To prevent this, use the font-size-adjust property.

All fonts have an "aspect value" which is the size-difference between the lowercase letter "x" and the uppercase letter "X".

When the browser knows the "aspect value" for the first selected font, the browser can figure out what font-size to use when displaying text with the second choice font.

デフォルト値: none
継承: yes
バージョン: CSS3
JavaScript構文: object.style.fontSizeAdjust="0.58"


構文

font-size-adjust: number|none|inherit;

説明
number Defines the aspect value to use
none Default value. No font size adjustment
inherit Inherits the font size adjustment from parent elements


CSS3 Reference 完全な CSS3 リファレンス