letter-spacing

Browser Internet Explorer Netscape Opera Safari Firefox
Version 5.5 6.0 7.0 8.0 8.0 9.0 7.0 8.0 9.2 9.5 1.3 2.0 3.1 1.5 2.0 3.0
Supported Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Short information
CSS CSS1
Default value normal
Inherited Yes
Applied To all elements
HTML analog No
Reference to specification http://www.w3.org/TR/CSS21/text.html#propdef-letter-spacing
Description
This parameter defines an interval between symbols within an element. Browsers usually determine distance between symbols proceeding from font type and kind, sizes and operating system options. This attribute is applied to change this value. You can use negative value but in this case it is necessary to be convinced that text readability remains.

Syntax

letter-spacing: denotation | normal
Arguments
Any length units in CSS are accepted as values — for example, pixels (px), inches (in) are accepted, points (pt), etc. The best result gives use of relative units based on a font size (em and ex). The argument normal sets an interval between symbols as usually.

Example

 
<!--
   P {
    letter-spacing: 5px;
   }
 
-->
<h1>Duis te feugifacilisi</h1>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem
  nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat.
  Ut wisis enim ad minim veniam, quis nostrud exerci tution ullamcorper suscipit
  lobortis nisl ut aliquip ex ea commodo consequat.
The result of this example is shown on the figure 1

Object model
[window.]document.getElementById("elementID").style.letterSpacing