layout-grid | NN n/a IE 5(Win) CSS n/a |
Inherited: Yes | |
This is a shorthand attribute that lets you set one or more layout grid attributes (layoutGridChar, layoutGridLine, layoutGridMode, and layoutGridType) with one assignment statement. These attributes are used primarily with Asian language content. |
|
CSS Syntax | |
layout-grid: layout-grid-mode | layout-grid-type | layout-grid-line | layout-grid-char |
|
Value | |
For syntax and examples of value types for font and line attributes, see the respective attribute listing. |
|
Initial Value | |
both loose none none |
|
Example | |
body {layout-grid: both fixed 14px 14px} |
|
Applies To | |
All elements. |
|
Object Model Reference | |
[window.]document.getElementById("elementID").style.layoutGrid
|