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-line | Next Style: layout-grid-type |


layout-grid-mode

Specifies the number of dimensions for 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.

See Also:

layout-grid, layout-grid-char, layout-grid-char-spacing, layout-grid-line, layout-grid-type

Possible Values:

both
Uses both a one-dimensional (line) grid and a two-dimensional (character) grid.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported

char
Uses a two-dimensional (character) grid.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported

Notes:
  • Use this value for block elements.

line
Uses a one-dimensional (line) grid.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported

Notes:
  • Use this value for inline elements.

none
No grid is used.

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">
A bird does not sing because it has an answer. It sings 
because it has a song.&#151;Chinese proverb
</BLOCKQUOTE>

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