The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's Style Sheets Reference

| Index | Current Category: Text (International) |
| Previous Style: layout-grid-char | Next Style: layout-grid-line |


layout-grid-char-spacing

Specifies the spacing between characters within the grid used to display text in an element.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported
Notes:
  • Pages written in Asian languages such Chinese, Korean, or Japanese, usually make use of a one- or two-dimensional grid for laying out characters.
  • To use this property, you must also set layout-grid-mode to char or both and layout-grid-type to loose.

See Also:

layout-grid, layout-grid-char, layout-grid-line, layout-grid-mode, layout-grid-type

Possible Values:

auto
The largest character determines the character spacing.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported

length
A specific value for the character spacing.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported

percentage
The character spacing as a percentage of the current block size.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported

Example:
<BLOCKQUOTE STYLE="layout-grid-mode: char;
                   layout-grid-type: loose;
                   layout-grid-char-spacing: 14px">
After three days without reading, talk becomes 
flavorless.&#151;Chinese proverb
</BLOCKQUOTE>

| Index | Current Category: Text (International) |
| Previous Style: layout-grid-char | Next Style: layout-grid-line |