Open main menu

CDOT Wiki β

Changes

CSS GUIDE FONT-SIZE-ADJUST

294 bytes added, 12:36, 26 September 2011
m
no edit summary
== Summary ==
A factor contributing to the legibility of fonts at different sizes is the relationship between <span class="plainlinks">[http://www.thepiggybackrider.com/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;/*CITATION*/">child carrier</span>]</span> the height of the 'font-size' and the height of the font's x-height (the height of its lowercase letter 'x'.) The ratio between these two factors ('font-size' divided by x-height) is called a font's "&quot;aspect value." &quot; If an aspect value ratio is large for a font, it is more likely to be legible at a given font-size than a font with a smaller aspect value.
The '''font-size-adjust''' property allows authors to specify the "&quot;aspect value" &quot; that they wish to maintain. It becomes helpful when a specified font is unavailable and the system needs hints to determine the most suitable substitute.
== Syntax ==
<&lt;pre>&gt;
h5.med { font-size-adjust: number | none }
<&lt;/pre>&gt;
== Legal Values ==
== Usage Examples ==
<&lt;pre>&gt;
Ext/Doc: h5.med { font-size-adjust: 0.58 }
In-Line: <&lt;h5 STYLE="&quot;font-size-adjust: 0.58">&quot;&gt;text<&lt;/h5>&gt;<&lt;/pre>&gt;
== Notes ==
1
edit