13.07.2015 Views

Beginning CSS: Cascading Style Sheets for Web Design, 2nd ...

Beginning CSS: Cascading Style Sheets for Web Design, 2nd ...

Beginning CSS: Cascading Style Sheets for Web Design, 2nd ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The word-spacing PropertyChapter 5: Text ManipulationThe word-spacing property, in essence, functions identically to the letter-spacing property.However, (of course) instead of controlling the space between letters, the word-spacing property controlsthe space between words. The following table shows its allowable values.Propertyword-spacingValuenormal | Initial value: normalTo demonstrate the effect of the word-spacing property, consider the style sheet rule in Figure 5-4a.Figure 5-4aThe style sheet in Figure 5-4a is coupled with the markup in Figure 5-4b.Figure 5-4bFigure 5-4a and Figure 5-4b together result in the output shown in Figure 5-4c; 25 pixels of space nowseparate each word of the element.137

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!