HTML and CSS Reference
In-Depth Information
Note
• Under IE this property is known as -ms-layout-grid-char to correctly show it is
an extension.
layout-grid-line
This Microsoft-proposed CSS property defines the gridline value used for laying out
Japanese or Chinese characters in a Web document.
Syntax
layout-grid-line: none | auto | length | percentage
where length is any positive length unit and percentage is a value derived from the size of the
parent element the rule is applied to.
Example
<p style="layout-grid-line: 100px;">
A short text sample <br>
with line breaks so <br>
the meaning of this <br>
property will be obvious. </p>
Compatibility
No specification
IE 5+
Note
• Under IE this property is known as -ms-layout-grid-line to correctly show it is
an extension.
layout-grid-mode
This Microsoft-proposed CSS property defines whether the text layout grid uses one or
two dimensions.
Syntax
layout-grid-mode: both | none | line | char
where line specifies to use a line grid, char specifies to use a character grid, and both
specifies to use both grids. A value of none turns all grids off. The default is both .
Example
<p style="layout-grid-mode: none; layout-grid-line: 100px;">
A short text sample <br>
with layout-grid-mode <br>
set to a value of none <br>
to turn off the grid. </p>
Compatibility
No specification
IE 5+
Search WWH ::




Custom Search