Wednesday, January 21, 2009

The font-stretch property

The font-stretch property is used to stretch or contract the width of fonts. This property has 12 possible values: normal, wider, narrower, ultra-condensed, extra-condensed, condensed, semi-condensed, semi-expanded, expanded, extra-expanded, ultra-expanded and inherit. This is a font property that was not included in the CSS 2.1 specification.

Example: <p style="font-stretch: ultra-condensed">the quick brown fox jumps over the lazy dog</p>
Browser Support
This property is not supported by Firefox 3, Internet Explorer 6, Internet Explorer 7, Opera 9.6 and Safari 3.2 . These browsers ignore this property.

No comments: