word-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-word-spacing

Description
It determines an interval between words. If the alignment parameter justify is determined, the attribute word-spacing does not operate because the interval between words will be installed compulsorily. It is done for the text line to be aligned on right and left borders.

Syntax

word-spacing: value | normal

Arguments
Any units of length accepted in CSS are accepted as values, for example pixels (px), inches (in), points (pt), etc. The parameter value can be negative but it is necessary to check working capacity in different browsers. Percentage record is not applicable. The argument normal determines an interval between words as usually.

Example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
  <title>word-spacing</title>
  <style type="text/css">
   P {
    word-spacing: 20px;
   } 
  </style>
 </head>
 <body>
 
  <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem 
  nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat.</p>
 
 </body>
</html>

The result of this example is shown on the figure 1

Storage Virtualization
Virtualizaion
What is VPS?
Tape Backup