Javascript Reference
Categories: STYLE

javascript STYLE fontStretch

@March 15, 2008, 1:22 a.m.
fontStretchFirefox/Netscape/NN 6 IE 5(Mac) Chrome/Safari/DOM 2  

Read/Write  

Provides the character spacing for the element, based on available spacing widths available for the current font family. Although this property is a member of the style object in IE 5/Mac and Netscape 6, neither the style attribute nor scripted changes to it affect the font display.

 
Example
 
document.getElementById("myDIV").style.fontStretch= "ultra-condensed";
 
Value

String of allowable constant values: normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded, or none.

 
Default

none


Powered by Linode.