1. Computing

Discuss in my forum

word-spacing

By , About.com Guide

word-spacing Description:

The word-spacing property defines the default amount of space between words. This can be impacted by justification and other issues.

word-spacing in CSS Versions:

word-spacing Syntax:

word-spacing: normal | <length> | inherit

  • normal
    The normal inter-word space defined by the user agent.
  • <length>
    An additional amount of space between words, including the normal amount.
  • inherit
    The element should have the same word-spacing setting as the parent.

word-spacing Initial Value:

normal

word-spacing Applies To:

All elements.

word-spacing Inheritance:

This property is inherited.

word-spacing Browser Support:

word-spacing Examples:

1em spacing

<p style="word-spacing : 1em;">
 The words in this paragraph should have at least 1em between them.
 </p>

word-spacing Special Notes:

  • A word is typically defined as a series of characters surrounded by whitespace. But some browsers may define this differently.
  • Negative values are permitted and the browser will display these by shrinking the space between words.

More word-spacing Information:

©2013 About.com. All rights reserved.